This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, alpha]: Fix ICE after the fix for intrinsic_nearest.f90 failure


Hello!

The fix for intrinsic_nearest.f90 failure that disabled a couple of insn patterns in IEEE mode [1] introduced an ICE [2] with unrecognisable insn:

(set (reg:DF 135)
        (lt:DF (float_extend:DF (reg:SF 133))
            (float_extend:DF (reg:SF 86 [ b.2 ])))) -1 (nil))

The problem is fixed by disabling a couple of expanders that expand to disabled insns in IEEE mode. The patch also disables one remaining insn that inherently expands SFmode operand to DFmode in IEEE mode.

Patch was tested on alphaev68-unknown-linux-gnu {,-mieee}.

2009-09-14 Uros Bizjak <ubizjak@gmail.com>

    * config/alpha/alpha.md (smaxsf3): Disable for IEEE mode.
    (sminsf3): Ditto.
    (*fbcc_ext_normal): Ditto.

The patch will be applied to all active branches after testing.

[1] http://gcc.gnu.org/ml/gcc-patches/2009-08/msg01199.html
[2] http://gcc.gnu.org/ml/gcc-testresults/2009-09/msg01173.html

Uros.

Attachment: a.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]