diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2004-06-25 06:57:14 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2004-06-25 06:57:14 +0000 |
commit | 3af5dcdb45192587bb3a338f299d7cc7e7f96125 (patch) | |
tree | c0b0d8cc1ef45e5dba426cd9ef45c2e3dea6fa39 /gcc/config | |
parent | 838d430929f683ab4315032d9dda8e1d5f2be8e2 (diff) | |
download | gcc-3af5dcdb45192587bb3a338f299d7cc7e7f96125.zip gcc-3af5dcdb45192587bb3a338f299d7cc7e7f96125.tar.gz gcc-3af5dcdb45192587bb3a338f299d7cc7e7f96125.tar.bz2 |
re PR target/16144 (Bogus reference to __divdf3 when -O1)
PR target/16144
* config/mips/mips.md (divsf, divdf): Don't FAIL if the first operand
is 1.0; force it into a register instead.
From-SVN: r83639
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/mips/mips.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 3dfb98d..545565c 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -2322,7 +2322,7 @@ { if (const_float_1_operand (operands[1], DFmode)) if (!(ISA_HAS_FP4 && flag_unsafe_math_optimizations)) - FAIL; + operands[1] = force_reg (DFmode, operands[1]); }) ;; This pattern works around the early SB-1 rev2 core "F1" erratum: @@ -2372,7 +2372,7 @@ { if (const_float_1_operand (operands[1], SFmode)) if (!(ISA_HAS_FP4 && flag_unsafe_math_optimizations)) - FAIL; + operands[1] = force_reg (SFmode, operands[1]); }) ;; This pattern works around the early SB-1 rev2 core "F1" erratum (see |