diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2008-01-20 00:05:07 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2008-01-20 00:05:07 +0000 |
commit | 0decaff6a5b24ce436e934649a04e893855cc949 (patch) | |
tree | baa10fdcf8e91a724b4300f910f4325675a8d874 /gcc/config/mips | |
parent | 2f94c6715bfe07ddac4c16f7ceae8d19264f6dff (diff) | |
download | gcc-0decaff6a5b24ce436e934649a04e893855cc949.zip gcc-0decaff6a5b24ce436e934649a04e893855cc949.tar.gz gcc-0decaff6a5b24ce436e934649a04e893855cc949.tar.bz2 |
re PR target/34831 (ICE on gcc.dg/pr34233.c for MIPS)
gcc/
PR target/34831
* config/mips/mips.md (div<mode>3): Use <recip_condition> when
deciding whether to use reciprocal instructions.
gcc/testsuite/
PR target/34831
* gcc.target/mips/pr34831.c: New test.
From-SVN: r131662
Diffstat (limited to 'gcc/config/mips')
-rw-r--r-- | gcc/config/mips/mips.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 864013a..21398c6 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -1936,7 +1936,7 @@ "<divide_condition>" { if (const_1_operand (operands[1], <MODE>mode)) - if (!(ISA_HAS_FP4 && flag_unsafe_math_optimizations)) + if (!(<recip_condition> && flag_unsafe_math_optimizations)) operands[1] = force_reg (<MODE>mode, operands[1]); }) |