aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/CBuiltins.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-09-07 15:51:45 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-09-07 15:51:45 +0200
commit76d82e41797ef79531e6bf3d530f380dddd3310e (patch)
treee166104322f4bb427993cf483623e0a01632c1b4 /powerpc/CBuiltins.ml
parent9ecede34667433bc3cacf47fb75e03a79607223b (diff)
downloadcompcert-kvx-76d82e41797ef79531e6bf3d530f380dddd3310e.tar.gz
compcert-kvx-76d82e41797ef79531e6bf3d530f380dddd3310e.zip
Added builtin for the cmpb instruction.
Diffstat (limited to 'powerpc/CBuiltins.ml')
-rw-r--r--powerpc/CBuiltins.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/powerpc/CBuiltins.ml b/powerpc/CBuiltins.ml
index e18fdb2d..2e014b4c 100644
--- a/powerpc/CBuiltins.ml
+++ b/powerpc/CBuiltins.ml
@@ -36,6 +36,8 @@ let builtins = {
(TInt(IUInt, []), [TInt(IUInt, [])], false);
"__builtin_bswap16",
(TInt(IUShort, []), [TInt(IUShort, [])], false);
+ "__builtin_cmpb",
+ (TInt (IUInt, []), [TInt(IUInt, []);TInt(IUInt, [])], false);
(* Float arithmetic *)
"__builtin_fmadd",
(TFloat(FDouble, []),