diff options
author | Uros Bizjak <uros@kss-loka.si> | 2005-01-03 10:54:53 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2005-01-03 10:54:53 +0100 |
commit | 088df4c28876fc511cd29bf18a1bd9bb75d9c86b (patch) | |
tree | b30ce54b0b45d3962d72d850f15c49152ce935d7 | |
parent | 548a6c4f8885e54246f5c68308e26671fdbf9d42 (diff) | |
download | gcc-088df4c28876fc511cd29bf18a1bd9bb75d9c86b.zip gcc-088df4c28876fc511cd29bf18a1bd9bb75d9c86b.tar.gz gcc-088df4c28876fc511cd29bf18a1bd9bb75d9c86b.tar.bz2 |
re PR target/19236 (ICE compiling logp(x) with -ffast-math)
PR target/19236
* config/i386/i386.c (log1psf2): Change mode of operands[0,1]
to SFmode.
(log1pdf2): Change mode of operands[0,1] to DFmode.
From-SVN: r92825
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/i386/i386.md | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba78b2c..e3e4db4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2005-01-03 Uros Bizjak <uros@kss-loka.si> + + PR target/19236 + * config/i386/i386.c (log1psf2): Change mode of operands[0,1] + to SFmode. + (log1pdf2): Change mode of operands[0,1] to DFmode. + + 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr> * config/sparc/sparc.h (SPARC_RELAXED_ORDERING): Define to false. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 9483218..923bdf9 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -15677,8 +15677,8 @@ (set_attr "mode" "XF")]) (define_expand "log1psf2" - [(use (match_operand:XF 0 "register_operand" "")) - (use (match_operand:XF 1 "register_operand" ""))] + [(use (match_operand:SF 0 "register_operand" "")) + (use (match_operand:SF 1 "register_operand" ""))] "TARGET_USE_FANCY_MATH_387 && flag_unsafe_math_optimizations" { @@ -15692,8 +15692,8 @@ }) (define_expand "log1pdf2" - [(use (match_operand:XF 0 "register_operand" "")) - (use (match_operand:XF 1 "register_operand" ""))] + [(use (match_operand:DF 0 "register_operand" "")) + (use (match_operand:DF 1 "register_operand" ""))] "TARGET_USE_FANCY_MATH_387 && flag_unsafe_math_optimizations" { |