aboutsummaryrefslogtreecommitdiffstats
path: root/test/regression/builtins-x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/regression/builtins-x86.c')
-rw-r--r--test/regression/builtins-x86.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/regression/builtins-x86.c b/test/regression/builtins-x86.c
index 6233f9fd..05d3ab93 100644
--- a/test/regression/builtins-x86.c
+++ b/test/regression/builtins-x86.c
@@ -4,9 +4,6 @@
unsigned int x = 0x12345678;
unsigned int y = 0xDEADBEEF;
-unsigned long long xx = 0x1234567812345678ULL;
-unsigned long long yy = 0x1234567800000000ULL;
-unsigned long long zz = 0x123456789ABCDEF0ULL;
double a = 3.14159;
double b = 2.718;
double c = 1.414;
@@ -14,22 +11,6 @@ unsigned short s = 0x1234;
int main(int argc, char ** argv)
{
- unsigned z;
-
- printf("bswap(%x) = %x\n", x, __builtin_bswap(x));
- printf("bswap16(%x) = %x\n", s, __builtin_bswap16(s));
- printf("bswap64(%llx) = %llx\n", zz, __builtin_bswap64(zz));
- 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));
- z = __builtin_bswap(x);
- printf("clzll(%lx) = %d\n", z, __builtin_clzll(z));
- printf("ctz(%x) = %d\n", s, __builtin_ctz(s));
- printf("ctzll(%llx) = %d\n", xx, __builtin_ctzll(xx));
- printf("ctzll(%llx) = %d\n", yy, __builtin_ctzll(yy));
- printf("ctzll(%lx) = %d\n", z, __builtin_ctzll(z));
-
- printf("fsqrt(%f) = %f\n", a, __builtin_fsqrt(a));
printf("fmin(%f, %f) = %f\n", a, b, __builtin_fmin(a, b));
printf("fmax(%f, %f) = %f\n", a, b, __builtin_fmax(a, b));