re PR target/71321 (x86: worse code for uint8_t % 10 and / 10)
authorBernd Schmidt <bernds@redhat.com>
Wed, 21 Dec 2016 16:45:33 +0000 (16:45 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Wed, 21 Dec 2016 16:45:33 +0000 (16:45 +0000)
commitd697acca12fb5ace0ed1800c39f4fb2d5adb04e8
tree9a979aab8d9f29d5f20951b0c4fd361694945f04
parent4e2044d68d06c85761edf7510e23ea06c9279fdb
re PR target/71321 (x86: worse code for uint8_t % 10 and / 10)

PR target/71321
* config/i386/i386.md (lea<mode>_general_2b, lea<mode>_general_3b): New
patterns.
* config/i386/predicates.md (const123_operand): New.

PR target/71321
* gcc.target/i386/pr71321.c: New test.

From-SVN: r243861
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/config/i386/predicates.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr71321.c [new file with mode: 0644]