summary refs log tree commit diff stats
path: root/tests/tcg/s390x/mvo.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/s390x/mvo.c')
-rw-r--r--tests/tcg/s390x/mvo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tcg/s390x/mvo.c b/tests/tcg/s390x/mvo.c
index 5546fe2a97..0c3ecdde2e 100644
--- a/tests/tcg/s390x/mvo.c
+++ b/tests/tcg/s390x/mvo.c
@@ -11,8 +11,8 @@ int main(void)
     asm volatile (
         "    mvo 0(4,%[dest]),0(3,%[src])\n"
         :
-        : [dest] "d" (dest + 1),
-          [src] "d" (src + 1)
+        : [dest] "a" (dest + 1),
+          [src] "a" (src + 1)
         : "memory");
 
     for (i = 0; i < sizeof(expected); i++) {