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
This commit is contained in:
Richard Sandiford 2002-10-29 13:47:10 +00:00 committed by Richard Sandiford
parent 1862869df9
commit 02c6a17aef
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-10-29 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.md (extv, extzv, insv): Set size of referenced
memory after adjusting to BLKmode.
2002-10-29 Kazu Hirata <kazu@cs.umass.edu> 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.h (MASK_*): New. * config/h8300/h8300.h (MASK_*): New.

View File

@ -4871,6 +4871,7 @@ move\\t%0,%z4\\n\\
/* Change the mode to BLKmode for aliasing purposes. */ /* Change the mode to BLKmode for aliasing purposes. */
operands[1] = adjust_address (operands[1], BLKmode, 0); 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. */ /* Otherwise, emit a l[wd]l/l[wd]r pair to load the value. */
if (INTVAL (operands[2]) == 64) if (INTVAL (operands[2]) == 64)
@ -4919,6 +4920,7 @@ move\\t%0,%z4\\n\\
/* Change the mode to BLKmode for aliasing purposes. */ /* Change the mode to BLKmode for aliasing purposes. */
operands[1] = adjust_address (operands[1], BLKmode, 0); 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. */ /* Otherwise, emit a lwl/lwr pair to load the value. */
if (INTVAL (operands[2]) == 64) if (INTVAL (operands[2]) == 64)
@ -4967,6 +4969,7 @@ move\\t%0,%z4\\n\\
/* Change the mode to BLKmode for aliasing purposes. */ /* Change the mode to BLKmode for aliasing purposes. */
operands[0] = adjust_address (operands[0], BLKmode, 0); 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. */ /* Otherwise, emit a s[wd]l/s[wd]r pair to load the value. */
if (INTVAL (operands[1]) == 64) if (INTVAL (operands[1]) == 64)