From: Andreas Krebbel Date: Mon, 9 May 2011 14:37:12 +0000 (+0000) Subject: s390.md (TD/TF mem to reg move splitter): Make the temporary register to match Pmode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9e6994ab9f27c07d9345b6e5cbeb3ed2cf21625;p=gcc.git s390.md (TD/TF mem to reg move splitter): Make the temporary register to match Pmode. 2011-05-09 Andreas Krebbel * config/s390/s390.md (TD/TF mem to reg move splitter): Make the temporary register to match Pmode. From-SVN: r173572 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2317fd2f05d..eac0d65377f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-05-09 Andreas Krebbel + + * config/s390/s390.md (TD/TF mem to reg move splitter): Make the + temporary register to match Pmode. + 2011-05-09 Uros Bizjak * config/i386/sse.md (*vec_concatv4si): Merge from *vec_concatv4si_1 diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index 10e7e8b7868..2779ec625c1 100644 --- a/gcc/config/s390/s390.md +++ b/gcc/config/s390/s390.md @@ -2026,6 +2026,7 @@ [(set (match_dup 0) (match_dup 1))] { rtx addr = operand_subword (operands[0], 1, 0, mode); + addr = gen_lowpart (Pmode, addr); s390_load_address (addr, XEXP (operands[1], 0)); operands[1] = replace_equiv_address (operands[1], addr); })