diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2011-08-05 12:04:58 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2011-08-05 12:04:58 +0000 |
commit | ab624a0ebf01a4f3e45aecb438e890b4da2f66f0 (patch) | |
tree | ffac7325744b54d1973733cfa479e5fa2bc95eac /test/regression | |
parent | 40a41ae1131f05269514e21f769d5d8c07c09c4a (diff) |
More builtins for ARM and PowerPC
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1697 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/regression')
-rw-r--r-- | test/regression/builtins.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/regression/builtins.c b/test/regression/builtins.c index ea971bf..96b1699 100644 --- a/test/regression/builtins.c +++ b/test/regression/builtins.c @@ -15,7 +15,8 @@ int main(int argc, char ** argv) printf("mulhw(%x, %x) = %x\n", x, y, __builtin_mulhw(x, y)); printf("mulhwu(%x, %x) = %x\n", x, y, __builtin_mulhwu(x, y)); - printf("cntlzw(%x) = %d\n", x, __builtin_cntlzw(x)); + printf("cntlz(%x) = %d\n", x, __builtin_cntlz(x)); + printf("bswap(%x) = %x\n", x, __builtin_bswap(x)); printf("fmadd(%f, %f, %f) = %f\n", a, b, c, __builtin_fmadd(a, b, c)); printf("fmsub(%f, %f, %f) = %f\n", a, b, c, __builtin_fmsub(a, b, c)); @@ -36,6 +37,7 @@ int main(int argc, char ** argv) #ifdef __arm__ printf("bswap(%x) = %x\n", x, __builtin_bswap(x)); + printf("cntlz(%x) = %d\n", x, __builtin_cntlz(x)); printf("fsqrt(%f) = %f\n", a, __builtin_fsqrt(a)); |