aboutsummaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-08-30 19:39:58 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-08-30 19:39:58 +0200
commit2f7f68f69b6408e4de6210c827b108eff011af51 (patch)
tree4b1673d716d1aff3ca51d9ebae4ff9ab9bd78cb7 /runtime
parent9a19f2fdf735785947cc469d2ceef83cbe4f1679 (diff)
downloadcompcert-kvx-2f7f68f69b6408e4de6210c827b108eff011af51.tar.gz
compcert-kvx-2f7f68f69b6408e4de6210c827b108eff011af51.zip
macros for fma() fmaf()
Diffstat (limited to 'runtime')
-rw-r--r--runtime/include/math.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/include/math.h b/runtime/include/math.h
index 07feb14d..060968c8 100644
--- a/runtime/include/math.h
+++ b/runtime/include/math.h
@@ -10,6 +10,8 @@
#define fmaxf(x, y) __builtin_fmaxf((x),(y))
#define fabs(x) __builtin_fabs((x))
#define fabsf(x) __builtin_fabsf((x))
+#define fma(x, y, z) __builtin_fma((x),(y),(z))
+#define fmaf(x, y, z) __builtin_fmaf((x),(y),(z))
#endif
#include_next <math.h>