Commit 02c6a17a by Richard Sandiford Committed by Richard Sandiford

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
parent 1862869d
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.
......
...@@ -4871,6 +4871,7 @@ move\\t%0,%z4\\n\\ ...@@ -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\\ ...@@ -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\\ ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment