aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/s390x/mvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/s390x/mvc.c')
-rw-r--r--tests/tcg/s390x/mvc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tcg/s390x/mvc.c b/tests/tcg/s390x/mvc.c
index aa552d5..7ae4c44 100644
--- a/tests/tcg/s390x/mvc.c
+++ b/tests/tcg/s390x/mvc.c
@@ -20,8 +20,8 @@ static inline void mvc_256(const char *dst, const char *src)
asm volatile (
" mvc 0(256,%[dst]),0(%[src])\n"
:
- : [dst] "d" (dst),
- [src] "d" (src)
+ : [dst] "a" (dst),
+ [src] "a" (src)
: "memory");
}