sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI register for mperm_w operation.

* sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
	register for mperm_w operation.

From-SVN: r58051
This commit is contained in:
J"orn Rennecke 2002-10-11 11:36:21 +00:00 committed by Joern Rennecke
parent 0488fa7c8f
commit 750afc12b3
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Oct 11 12:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
* sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
register for mperm_w operation.
Fri Oct 11 10:56:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
* emit-rtl.c (gen_lowpart_common): When asked to make a vector from

View File

@ -9160,7 +9160,11 @@
if (unit_size > 2)
operands[2] = gen_mshflo_l (operands[0], operands[0], operands[0]);
else
operands[2] = gen_mperm_w0 (operands[0], operands[0]);
{
if (unit_size < 2)
operands[0] = gen_rtx_REG (V4HImode, true_regnum (operands[0]));
operands[2] = gen_mperm_w0 (operands[0], operands[0]);
}
operands[0] = gen_rtx_REG (DImode, true_regnum (operands[0]));
operands[1] = XVECEXP (operands[1], 0, 0);
if (unit_size < 2)