From 52f602db7f306441cfa509cee7cce8cf8567ddc1 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Mon, 1 Feb 2021 16:09:31 +0100 Subject: adding builtins --- riscV/CBuiltins.ml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'riscV/CBuiltins.ml') diff --git a/riscV/CBuiltins.ml b/riscV/CBuiltins.ml index a2087cb7..55b6bbd5 100644 --- a/riscV/CBuiltins.ml +++ b/riscV/CBuiltins.ml @@ -46,6 +46,10 @@ let builtins = { (TFloat(FDouble, []), [TFloat(FDouble, []); TFloat(FDouble, [])], false); "__builtin_fmin", (TFloat(FDouble, []), [TFloat(FDouble, []); TFloat(FDouble, [])], false); + "__builtin_bits_of_double", + (TInt(IULong, []), [TFloat(FDouble, [])], false); + "__builtin_bits_of_float", + (TInt(IUInt, []), [TFloat(FFloat, [])], false); ] } -- cgit