diff options
Diffstat (limited to 'test/monniaux/int128/test_swap.c')
-rw-r--r-- | test/monniaux/int128/test_swap.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/monniaux/int128/test_swap.c b/test/monniaux/int128/test_swap.c deleted file mode 100644 index 4841f040..00000000 --- a/test/monniaux/int128/test_swap.c +++ /dev/null @@ -1,13 +0,0 @@ -#include <stdio.h> - -int main() { - unsigned long long loc=10, next=12, current=11; - union { - __int128 i128; - struct { - unsigned long low, high; - } i64_2; - } ret; - ret.i128 = __builtin_k1_acswapd(&loc, next, current); - printf("%lx %lx\n", ret.i64_2.low, ret.i64_2.high); -} |