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 PR88418, ICE in extract_insn


Hello!

For vector modes we have to use vector_operand predicate, which
rejects unaligned operands for non-avx targets.

2018-12-10  Uros Bizjak  <ubizjak@gmail.com>

    PR target/88418
    * config/i386/i386.c (ix86_expand_sse_cmp): For vector modes,
    check operand 1 with vector_operand predicate.
    (ix86_expand_sse_movcc): For vector modes, check op_true with
    vector_operand, not nonimmediate_operand.

testsuite/ChangeLog:

2018-12-10  Uros Bizjak  <ubizjak@gmail.com>

    PR target/88418
    * gcc.target/i386/pr88418.c: New test.

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

Committed to mainline, patch 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]