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]: Merge ftest insn patterns with FP compare insn patterns


Now that we have universal "C" constraint, we can use it in FP compare
insn patterns to merge ftest insn patterns.

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

    * config/i386/i386.md (*cmpxf_i387): Change operand 2 predicate
    to reg_or_0_operand.  Add "C" constraint.
    (*cmpxf_cc_i387): Ditto.
    (*cmp<mode>_i387): Change operand 2 predicate
    to nonimm_or_0_operand.  Add "C" constraint.
    (*cmp<mode>_cc_i387): Ditto.
    (*cmp<mode>_0_i387): Remove insn pattern.
    (*cmp<mode>_0_cc_i387): Ditto.

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

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