Sign in
cobalt
/
cobalt
/
07081467c3d00b04a6a1162e0566a5a8b9cfe2d5
/
.
/
third_party
/
musl
/
src
/
math
/
powerpc64
/
fmaxf.c
blob: 345a234a80bea094633c08100a49d944315b8303 [
file
] [
log
] [
blame
]
#include
<math.h>
#ifdef
__VSX__
float
fmaxf
(
float
x
,
float
y
)
{
__asm__
(
"xsmaxdp %x0, %x1, %x2"
:
"=ww"
(
x
)
:
"ww"
(
x
),
"ww"
(
y
));
return
x
;
}
#else
#include
"../fmaxf.c"
#endif