summaryrefslogtreecommitdiff
path: root/gcc/config/s390/s390.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/s390/s390.md')
-rw-r--r--gcc/config/s390/s390.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md
index ef1ab269bae..a467d4a10ec 100644
--- a/gcc/config/s390/s390.md
+++ b/gcc/config/s390/s390.md
@@ -2353,7 +2353,8 @@
XVECEXP (operands[3], 0, i)
= gen_rtx_SET (VOIDmode, gen_rtx_REG (mode, regno + i),
change_address (operands[1], mode,
- plus_constant (from, off + i * GET_MODE_SIZE (mode))));
+ plus_constant (Pmode, from,
+ off + i * GET_MODE_SIZE (mode))));
})
(define_insn "*load_multiple_di"
@@ -2443,7 +2444,8 @@
XVECEXP (operands[3], 0, i)
= gen_rtx_SET (VOIDmode,
change_address (operands[0], mode,
- plus_constant (to, off + i * GET_MODE_SIZE (mode))),
+ plus_constant (Pmode, to,
+ off + i * GET_MODE_SIZE (mode))),
gen_rtx_REG (mode, regno + i));
})