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]: Implement zero-extended cmove patterns


Attached patch implements zero-extended cmove patterns. Also, the
patch merges a couple of peephole patterns into one.

2015-06-18  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/i386.md (*movsicc_noc_zext): New insn.
    (zero-extended cmove with mem peephole2): New pattern.
    (cmove with mem peephole2): Merge patterns.

testsuite/ChangeLog:

2015-06-18  Uros Bizjak  <ubizjak@gmail.com>

    * gcc.target/i386/cmov9.c: New test.

Tested on x86_64-linux-gnu {,-m32} and 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]