* pa.md (extv): Check predicates before emitting extv_32.

From-SVN: r55790
This commit is contained in:
J"orn Rennecke 2002-07-27 02:31:07 +00:00 committed by John David Anglin
parent 92847c03ab
commit c427db5dab
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Thu Jul 26 23:00:13 2002 J"orn Rennecke <joern.rennecke@superh.com>
* pa.md (extv): Check predicates before emitting extv_32.
2002-07-27 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (rs6000_traceback_name): New var.

View File

@ -6658,8 +6658,13 @@
emit_insn (gen_extv_64 (operands[0], operands[1],
operands[2], operands[3]));
else
emit_insn (gen_extv_32 (operands[0], operands[1],
operands[2], operands[3]));
{
if (! uint5_operand (operands[2], SImode)
|| ! uint5_operand (operands[3], SImode))
FAIL;
emit_insn (gen_extv_32 (operands[0], operands[1],
operands[2], operands[3]));
}
DONE;
}")