URL
https://opencores.org/ocsvn/hf-risc/hf-risc/trunk
Subversion Repositories hf-risc
[/] [hf-risc/] [trunk/] [tools/] [riscv-gnu-toolchain-master/] [glibc/] [sysdeps/] [riscv/] [fpu/] [s_fmaf.c] - Rev 13
Compare with Previous | Blame | View Log
#include <math.h> #include <fenv.h> #include <ieee754.h> float __fmaf (float x, float y, float z) { float out; asm volatile ("fmadd.s %0, %1, %2, %3" : "=f"(out) : "f"(x), "f"(y), "f"(z)); return out; } weak_alias (__fmaf, fmaf)