https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46091
--- Comment #6 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- Author: aldyh Date: Wed Sep 13 17:02:09 2017 New Revision: 252445 URL: https://gcc.gnu.org/viewcvs?rev=252445&root=gcc&view=rev Log: PR target/46091 * config/i386/i386.md (*anddi_1_btr): Change predicates of operand 0 and operand 1 to nomimmediate_operand. Add "m" constraint. Add ix86_binary_operator_ok to insn constraint. (*iordi_1_bts): Ditto. (*xordi_1_btc): Ditto. (*btsq): Change predicate of operand 0 to nonimmediate_operand. Update corresponding peephole2 pattern. (*btrq): Ditto. (*btcq): Ditto. testsuite/ChangeLog: PR target/46091 * gcc.target/i386/pr46091-1.c: Update scan-assembler-times. (testm): New test function. * gcc.target/i386/pr46091-2.c: Ditto. * gcc.target/i386/pr46091-3.c: Ditto. Modified: branches/range-gen2/gcc/ChangeLog branches/range-gen2/gcc/config/i386/i386.md branches/range-gen2/gcc/testsuite/ChangeLog branches/range-gen2/gcc/testsuite/gcc.target/i386/pr46091-1.c branches/range-gen2/gcc/testsuite/gcc.target/i386/pr46091-2.c branches/range-gen2/gcc/testsuite/gcc.target/i386/pr46091-3.c