From: Richard Sandiford Date: Tue, 29 Oct 2002 13:47:10 +0000 (+0000) Subject: mips.md (extv, [...]): Set size of referenced memory after adjusting to BLKmode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02c6a17aefd96ea23dfe2adb28fe6cf358446ad2;p=gcc.git mips.md (extv, [...]): Set size of referenced memory after adjusting to BLKmode. * config/mips/mips.md (extv, extzv, insv): Set size of referenced memory after adjusting to BLKmode. From-SVN: r58621 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 49e9ecdc258..8fc27beda23 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-10-29 Richard Sandiford + + * config/mips/mips.md (extv, extzv, insv): Set size of referenced + memory after adjusting to BLKmode. + 2002-10-29 Kazu Hirata * config/h8300/h8300.h (MASK_*): New. diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index a1828f8ff2d..b783c4f26df 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -4871,6 +4871,7 @@ move\\t%0,%z4\\n\\ /* Change the mode to BLKmode for aliasing purposes. */ operands[1] = adjust_address (operands[1], BLKmode, 0); + set_mem_size (operands[1], GEN_INT (INTVAL (operands[2]) / BITS_PER_UNIT)); /* Otherwise, emit a l[wd]l/l[wd]r pair to load the value. */ if (INTVAL (operands[2]) == 64) @@ -4919,6 +4920,7 @@ move\\t%0,%z4\\n\\ /* Change the mode to BLKmode for aliasing purposes. */ operands[1] = adjust_address (operands[1], BLKmode, 0); + set_mem_size (operands[1], GEN_INT (INTVAL (operands[2]) / BITS_PER_UNIT)); /* Otherwise, emit a lwl/lwr pair to load the value. */ if (INTVAL (operands[2]) == 64) @@ -4967,6 +4969,7 @@ move\\t%0,%z4\\n\\ /* Change the mode to BLKmode for aliasing purposes. */ operands[0] = adjust_address (operands[0], BLKmode, 0); + set_mem_size (operands[0], GEN_INT (INTVAL (operands[1]) / BITS_PER_UNIT)); /* Otherwise, emit a s[wd]l/s[wd]r pair to load the value. */ if (INTVAL (operands[1]) == 64)