aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/s390x/pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/s390x/pack.c')
-rw-r--r--tests/tcg/s390x/pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/s390x/pack.c b/tests/tcg/s390x/pack.c
index 4be36f29a7..55e7e214e8 100644
--- a/tests/tcg/s390x/pack.c
+++ b/tests/tcg/s390x/pack.c
@@ -9,7 +9,7 @@ int main(void)
asm volatile(
" pack 2(4,%[data]),2(4,%[data])\n"
:
- : [data] "r" (&data[0])
+ : [data] "a" (&data[0])
: "memory");
for (i = 0; i < 8; i++) {
if (data[i] != exp[i]) {