aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/CBuiltins.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2016-07-09 15:25:47 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2016-07-09 15:25:47 +0200
commit3872ce9f9806d9af334b1fde092145edf664d170 (patch)
treeb9bb2d34d6b474b187baed7b5f536f52d5cf9de7 /powerpc/CBuiltins.ml
parent4c7650c3eaf4dfbe5971864bf084e76f844051ee (diff)
parent2cb9e645e6630d053bc72e484fe27dda5955e0ae (diff)
downloadcompcert-3872ce9f9806d9af334b1fde092145edf664d170.tar.gz
compcert-3872ce9f9806d9af334b1fde092145edf664d170.zip
Merge branch 'master' of /common/repositories/git/tools/compcert
Diffstat (limited to 'powerpc/CBuiltins.ml')
-rw-r--r--powerpc/CBuiltins.ml6
1 files changed, 6 insertions, 0 deletions
diff --git a/powerpc/CBuiltins.ml b/powerpc/CBuiltins.ml
index d244cba0..d33d6252 100644
--- a/powerpc/CBuiltins.ml
+++ b/powerpc/CBuiltins.ml
@@ -34,6 +34,12 @@ let builtins = {
(TInt(IInt, []), [TInt(IULong, [])], false);
"__builtin_clzll",
(TInt(IInt, []), [TInt(IULongLong, [])], false);
+ "__builtin_ctz",
+ (TInt(IInt, []), [TInt(IUInt, [])], false);
+ "__builtin_ctzl",
+ (TInt(IInt, []), [TInt(IULong, [])], false);
+ "__builtin_ctzll",
+ (TInt(IInt, []), [TInt(IULongLong, [])], false);
"__builtin_bswap",
(TInt(IUInt, []), [TInt(IUInt, [])], false);
"__builtin_bswap32",