https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81471
--- Comment #8 from uros at gcc dot gnu.org --- Author: uros Date: Tue Jul 18 18:28:12 2017 New Revision: 250317 URL: https://gcc.gnu.org/viewcvs?rev=250317&root=gcc&view=rev Log: PR target/81471 * config/i386/i386.md (rorx_immediate_operand): New mode attribute. (*bmi2_rorx<mode>3_1): Use rorx_immediate_operand as operand 2 predicate. (*bmi2_rorxsi3_1_zext): Use const_0_to_31_operand as operand 2 predicate. (ror,rol -> rorx splitters): Use const_int_operand as operand 2 predicate. testsuite/ChangeLog: PR target/81471 * gcc.target/i386/pr81471.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr81471.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/i386/i386.md branches/gcc-7-branch/gcc/testsuite/ChangeLog