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 81375, unrecognizable insn


Hello!

We have to use TARGET_SSE with TARGET_SSE_MATH in insn constraints.

2017-07-10  Uros Bizjak  <ubizjak@gmail.com>

    PR target/81375
    * config/i386/i386.md (divsf3): Add TARGET_SSE to TARGET_SSE_MATH.
    (rcpps): Ditto.
    (*rsqrtsf2_sse): Ditto.
    (rsqrtsf2): Ditto.
    (div<mode>3): Macroize insn from divdf3 and divsf3
    using MODEF mode iterator.

testsuite/ChangeLog:

2017-07-10  Uros Bizjak  <ubizjak@gmail.com>

    PR target/81375
    * gcc.target/i386/pr81375.c: New test.

Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}.

Committed to mainline, will be backported to release branches.

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]