re PR target/81995 (gcc/reg-stack.c:2073:1: error: unrecognizable insn:)
authorUros Bizjak <ubizjak@gmail.com>
Sun, 27 Aug 2017 18:01:46 +0000 (20:01 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 27 Aug 2017 18:01:46 +0000 (20:01 +0200)
commita5df209084512242c037f1d35f0b2e4969b04519
tree20a665db55c7a7e8956d8ffc7c17d7d6ebeb171a
parent86e03ef911346681949ae6812d64569008936fb4
re PR target/81995 (gcc/reg-stack.c:2073:1: error: unrecognizable insn:)

PR target/81995
* config/i386/i386.md (*<btsc><mode>): Change operand 2
predicate to register_operand.  Reorder operands.
(*btr<mode>): Ditto.
(*<btsc><mode>_mask): Change operand 3 predicate to register_operand.
(*btr<mode>_mask): Ditto.

testsuite/ChangeLog:

PR target/81995
* gcc.target/i386/pr46091-4.c: Add -mregparm=2 for 32bit targets.
* gcc.target/i386/pr46091-4a.c: Ditto.

From-SVN: r251369
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr46091-4.c
gcc/testsuite/gcc.target/i386/pr46091-4a.c