re PR target/82618 (Inefficient double-word subtraction on x86_64)
authorUros Bizjak <ubizjak@gmail.com>
Thu, 19 Oct 2017 17:35:39 +0000 (19:35 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 19 Oct 2017 17:35:39 +0000 (19:35 +0200)
commitd4e7de58116155e79272ea2b876a7c94115dbed1
tree3cc13d70512a8189b3431fdf3d5aeeee0518fe8b
parent158ec0181de2bb07560388d6a6d015309f09ca11
re PR target/82618 (Inefficient double-word subtraction on x86_64)

PR target/82618
* config/i386/i386.md (sub to cmp): New peephole2 pattern.

testsuite/ChangeLog:

PR target/82618
* gcc.target/i386/pr82618.c: New test.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r253905
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr82618.c [new file with mode: 0644]