diff options
author | Michael Schmidt <github@mschmidt.me> | 2015-12-11 15:53:47 +0100 |
---|---|---|
committer | Michael Schmidt <github@mschmidt.me> | 2015-12-11 15:53:47 +0100 |
commit | 75a55495bdde3eb2366dd164a4c44f416fc592a0 (patch) | |
tree | b1f7daad95f5ce260b62658e272209df502ad28b /powerpc/CBuiltins.ml | |
parent | fd2d8d86daf9d63d5695c93f412a7cf549d312c6 (diff) | |
download | compcert-kvx-75a55495bdde3eb2366dd164a4c44f416fc592a0.tar.gz compcert-kvx-75a55495bdde3eb2366dd164a4c44f416fc592a0.zip |
bug 17752, add builtin_clzl and builtin_clzll for PowerPC
Diffstat (limited to 'powerpc/CBuiltins.ml')
-rw-r--r-- | powerpc/CBuiltins.ml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/powerpc/CBuiltins.ml b/powerpc/CBuiltins.ml index a611aabe..169647b6 100644 --- a/powerpc/CBuiltins.ml +++ b/powerpc/CBuiltins.ml @@ -30,6 +30,10 @@ let builtins = { (TInt(IUInt, []), [TInt(IUInt, []); TInt(IUInt, [])], false); "__builtin_clz", (TInt(IUInt, []), [TInt(IUInt, [])], false); + "__builtin_clzl", + (TInt(IUInt, []), [TInt(IULong, [])], false); + "__builtin_clzll", + (TInt(IUInt, []), [TInt(IULongLong, [])], false); "__builtin_bswap", (TInt(IUInt, []), [TInt(IUInt, [])], false); "__builtin_bswap32", |