Sign in
cobalt
/
cobalt
/
1bdf8b5470dc937a8c92ce7e2f6d3392c6a1180c
/
.
/
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