repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove LFS64 symbol aliases; replace with dynamic linker remapping
[musl.git]
/
src
/
math
/
powerpc64
/
fmin.c
blob
adf71bad9578cd6a90a1a954336c0eeb75119709
1
#include <math.h>
2
3
#ifdef __VSX__
4
5
double
fmin
(
double
x
,
double
y
)
6
{
7
__asm__
(
"xsmindp %x0, %x1, %x2"
:
"=ws"
(
x
) :
"ws"
(
x
),
"ws"
(
y
));
8
return
x
;
9
}
10
11
#else
12
13
#include
"../fmin.c"
14
15
#endif