diff options
author | J"orn Rennecke <joern.rennecke@superh.com> | 2002-07-27 02:31:07 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2002-07-27 02:31:07 +0000 |
commit | c427db5dabb1af0d148f463cfc5a56d374b6ab6f (patch) | |
tree | c5a86259f09991cce94035f5c61db31b7eae1a36 /gcc/config | |
parent | 92847c03ab287e822a35e7eb3539d3124be20a12 (diff) | |
download | gcc-c427db5dabb1af0d148f463cfc5a56d374b6ab6f.zip gcc-c427db5dabb1af0d148f463cfc5a56d374b6ab6f.tar.gz gcc-c427db5dabb1af0d148f463cfc5a56d374b6ab6f.tar.bz2 |
* pa.md (extv): Check predicates before emitting extv_32.
From-SVN: r55790
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/pa/pa.md | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index 73f2831..7632beb 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -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; }") |