diff options
Diffstat (limited to 'src/math/s390x/fmaf.c')
-rw-r--r-- | src/math/s390x/fmaf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/math/s390x/fmaf.c b/src/math/s390x/fmaf.c new file mode 100644 index 00000000..f1aec6ad --- /dev/null +++ b/src/math/s390x/fmaf.c @@ -0,0 +1,7 @@ +#include <math.h> + +float fmaf(float x, float y, float z) +{ + __asm__ ("maebr %0, %1, %2" : "+f"(z) : "f"(x), "f"(y)); + return z; +} |