[PATCH 3/4] builtin: add declaration for __builtin_fma{,f,l}()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The motivation for this is to experiment with adding infrastructure
for the linearization of builtins.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
---
 builtin.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/builtin.c b/builtin.c
index 2e9be8be8adb..26b612dc401b 100644
--- a/builtin.c
+++ b/builtin.c
@@ -490,6 +490,9 @@ static const struct builtin_fn builtins_common[] = {
 	{ "__builtin_ffs", &int_ctype, 0, { &int_ctype }, .op = &ffs_op },
 	{ "__builtin_ffsl", &int_ctype, 0, { &long_ctype }, .op = &ffs_op },
 	{ "__builtin_ffsll", &int_ctype, 0, { &llong_ctype }, .op = &ffs_op },
+	{ "__builtin_fma", &double_ctype, 0, { &double_ctype, &double_ctype, &double_ctype }},
+	{ "__builtin_fmaf", &float_ctype, 0, { &float_ctype, &float_ctype, &float_ctype }},
+	{ "__builtin_fmal", &ldouble_ctype, 0, { &ldouble_ctype, &ldouble_ctype, &ldouble_ctype }},
 	{ "__builtin_frame_address", &ptr_ctype, 0, { &uint_ctype }},
 	{ "__builtin_free", &void_ctype, 0, { &ptr_ctype }},
 	{ "__builtin_huge_val", &double_ctype, 0 },
-- 
2.28.0




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux