diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2021-02-01 16:09:31 +0100 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2021-02-01 16:09:31 +0100 |
commit | 52f602db7f306441cfa509cee7cce8cf8567ddc1 (patch) | |
tree | 62b1e877d71eaf192aab6d9b26e91a65adf86aa2 /riscV/CBuiltins.ml | |
parent | d2dc422b91ed628f0f8d6286a23f6f4fb9869248 (diff) | |
download | compcert-kvx-52f602db7f306441cfa509cee7cce8cf8567ddc1.tar.gz compcert-kvx-52f602db7f306441cfa509cee7cce8cf8567ddc1.zip |
adding builtins
Diffstat (limited to 'riscV/CBuiltins.ml')
-rw-r--r-- | riscV/CBuiltins.ml | 4 |
1 files changed, 4 insertions, 0 deletions
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); ] } |