projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
powerpc64: add single-instruction math functions
[musl]
/
src
/
math
/
powerpc64
/
fma.c
1
#include <math.h>
2
3
double fma(double x, double y, double z)
4
{
5
__asm__ ("fmadd %0, %1, %2, %3" : "=d"(x) : "d"(x), "d"(y), "d"(z));
6
return x;
7
}