On Wed, Jul 03, 2019 at 12:33:49PM +0900, Stafford Horne wrote: > @@ -179,11 +183,11 @@ > [(set (match_operand:SI 0 "register_operand" "=r,r") > (rotatert:SI (match_operand:SI 1 "register_operand" "r,r") > (match_operand:SI 2 "reg_or_u6_operand" "r,n")))] > - "TARGET_ROR" > + "TARGET_ROR || TARGET_RORI" > "@ > l.ror\t%0, %1, %2 > l.rori\t%0, %1, %2" > - [(set_attr "insn_support" "*,shftimm")]) > + [(set_attr "insn_support" "ror,rori")])
Does this work? If you use -mno-ror -mrori? It will then allow generating a reg for the second operand, and ICE later on, as far as I can see? Segher