aboutsummaryrefslogtreecommitdiffstats
path: root/kvx/CBuiltins.ml
diff options
context:
space:
mode:
Diffstat (limited to 'kvx/CBuiltins.ml')
-rw-r--r--kvx/CBuiltins.ml20
1 files changed, 20 insertions, 0 deletions
diff --git a/kvx/CBuiltins.ml b/kvx/CBuiltins.ml
index 4d016453..c0b69adf 100644
--- a/kvx/CBuiltins.ml
+++ b/kvx/CBuiltins.ml
@@ -133,6 +133,26 @@ let builtins = {
"__builtin_fmaf",
(TFloat(FFloat, []),
[TFloat(FFloat, []); TFloat(FFloat, []); TFloat(FFloat, [])], false);
+ "__builtin_lround_ne",
+ (TInt(ILong, []), [TFloat(FDouble, [])], false);
+ "__builtin_luround_ne",
+ (TInt(IULong, []), [TFloat(FDouble, [])], false);
+ "__builtin_fp_udiv32",
+ (TInt(IUInt, []), [TInt(IUInt, []); TInt(IUInt, [])], false);
+ "__builtin_fp_udiv64",
+ (TInt(IULong, []), [TInt(IULong, []); TInt(IULong, [])], false);
+ "__builtin_fp_umod32",
+ (TInt(IUInt, []), [TInt(IUInt, []); TInt(IUInt, [])], false);
+ "__builtin_fp_umod64",
+ (TInt(IULong, []), [TInt(IULong, []); TInt(IULong, [])], false);
+ "__builtin_fp_sdiv32",
+ (TInt(IInt, []), [TInt(IInt, []); TInt(IInt, [])], false);
+ "__builtin_fp_sdiv64",
+ (TInt(ILong, []), [TInt(ILong, []); TInt(ILong, [])], false);
+ "__builtin_fp_smod32",
+ (TInt(IInt, []), [TInt(IInt, []); TInt(IInt, [])], false);
+ "__builtin_fp_smod64",
+ (TInt(ILong, []), [TInt(ILong, []); TInt(ILong, [])], false);
"__builtin_abs",
(TInt(IInt, []), [TInt(IInt, [])], false);
"__builtin_absl",