aboutsummaryrefslogtreecommitdiffstats
path: root/test/regression/builtins-arm.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/regression/builtins-arm.c')
-rw-r--r--test/regression/builtins-arm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/regression/builtins-arm.c b/test/regression/builtins-arm.c
index 643c8f1a..5fa867c2 100644
--- a/test/regression/builtins-arm.c
+++ b/test/regression/builtins-arm.c
@@ -6,12 +6,15 @@ int main(int argc, char ** argv)
{
unsigned int x = 0x12345678;
unsigned int y = 0xDEADBEEF;
+ unsigned long long xx = 0x1234567812345678ULL;
double a = 3.14159;
unsigned short s = 0x1234;
printf("bswap(%x) = %x\n", x, __builtin_bswap(x));
printf("bswap16(%x) = %x\n", s, __builtin_bswap16(s));
- printf("cntlz(%x) = %d\n", x, __builtin_clz(x));
+ printf("clz(%x) = %d\n", x, __builtin_clz(x));
+ printf("clzll(%llx) = %d\n", (unsigned long long) x, __builtin_clzll(x));
+ printf("clzll(%llx) = %d\n", xx, __builtin_clzll(xx));
printf("fsqrt(%f) = %f\n", a, __builtin_fsqrt(a));
printf ("read_16_rev = %x\n", __builtin_read16_reversed(&s));