https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81471
--- Comment #9 from uros at gcc dot gnu.org --- Author: uros Date: Tue Jul 18 20:16:47 2017 New Revision: 250319 URL: https://gcc.gnu.org/viewcvs?rev=250319&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-6-branch/gcc/testsuite/gcc.target/i386/pr81471.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/i386/i386.md branches/gcc-6-branch/gcc/testsuite/ChangeLog