summaryrefslogtreecommitdiff
path: root/powerpc/CBuiltins.ml
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2014-08-27 09:51:01 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2014-08-27 09:51:01 +0000
commit9ee09b9b2cb498219bd8012bed69ecf63fce63a4 (patch)
tree4b88da989f9545a80ee5fe6bcc1118a23c84d2d5 /powerpc/CBuiltins.ml
parent1abecb7b559c5e0eab8c093a629fd8197f57205f (diff)
Rename __builtin_cntlz to __builtin_clz.
IA32: add __builtin_clz, __builtin_ctz. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2619 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'powerpc/CBuiltins.ml')
-rw-r--r--powerpc/CBuiltins.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerpc/CBuiltins.ml b/powerpc/CBuiltins.ml
index f28ff8b..53d84f7 100644
--- a/powerpc/CBuiltins.ml
+++ b/powerpc/CBuiltins.ml
@@ -28,7 +28,7 @@ let builtins = {
(TInt(IInt, []), [TInt(IInt, []); TInt(IInt, [])], false);
"__builtin_mulhwu",
(TInt(IUInt, []), [TInt(IUInt, []); TInt(IUInt, [])], false);
- "__builtin_cntlz",
+ "__builtin_clz",
(TInt(IUInt, []), [TInt(IUInt, [])], false);
"__builtin_bswap",
(TInt(IUInt, []), [TInt(IUInt, [])], false);