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, i386]: Fix PR target/43067, ICE: SIGSEGV with -fschedule-insns -mxop


Hello!

The problem was, that a couple of insns without third operand were marked as ssemuladd. Insns, marked as ssemuladd are checked on third operand to determine if insn loads or stores from memory. Mark these instructions as ssemul type, as this is what they do before splitting.

2010-02-20 Uros Bizjak <ubizjak@gmail.com>

    PR target/43067
    * config/i386/sse.md (xop_mulv2div2di3_low): Change type
    attribute to ssemul.
    (xop_mulv2div2di3_high): Ditto.

testsuite/ChangeLog:

2010-02-20 Uros Bizjak <ubizjak@gmail.com>

    PR target/43067
    * gcc.target/i386/pr43067.c: New test.

Patch was bootstrapped and regression tested on x86_64-pc-linux-gnu {,-m32}. Patch was committed to SVN.

Uros.

Attachment: p.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]