aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/acswap
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/acswap')
-rw-r--r--test/monniaux/acswap/test_swapd.c2
-rw-r--r--test/monniaux/acswap/test_swapw.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/monniaux/acswap/test_swapd.c b/test/monniaux/acswap/test_swapd.c
index 4841f040..02dd8b06 100644
--- a/test/monniaux/acswap/test_swapd.c
+++ b/test/monniaux/acswap/test_swapd.c
@@ -8,6 +8,6 @@ int main() {
unsigned long low, high;
} i64_2;
} ret;
- ret.i128 = __builtin_k1_acswapd(&loc, next, current);
+ ret.i128 = __builtin_kvx_acswapd(&loc, next, current);
printf("%lx %lx\n", ret.i64_2.low, ret.i64_2.high);
}
diff --git a/test/monniaux/acswap/test_swapw.c b/test/monniaux/acswap/test_swapw.c
index 906938e0..6fb7d1cd 100644
--- a/test/monniaux/acswap/test_swapw.c
+++ b/test/monniaux/acswap/test_swapw.c
@@ -8,6 +8,6 @@ int main() {
unsigned long low, high;
} i64_2;
} ret;
- ret.i128 = __builtin_k1_acswapw(&loc, next, current);
+ ret.i128 = __builtin_kvx_acswapw(&loc, next, current);
printf("%lx %lx\n", ret.i64_2.low, ret.i64_2.high);
}