@@ -3807,13 +3807,15 @@
;; Rotate right
(define_insn "*ror<mode>3_insn"
- [(set (match_operand:GPI 0 "register_operand" "=r")
- (rotatert:GPI
- (match_operand:GPI 1 "register_operand" "r")
- (match_operand:QI 2 "aarch64_reg_or_shift_imm_<mode>" "rUs<cmode>")))]
+ [(set (match_operand:GPI 0 "register_operand" "=r,r")
+ (rotatert:GPI
+ (match_operand:GPI 1 "register_operand" "r,r")
+ (match_operand:QI 2 "aarch64_reg_or_shift_imm_<mode>" "r,Us<cmode>")))]
""
- "ror\\t%<w>0, %<w>1, %<w>2"
- [(set_attr "type" "shift_reg")]
+ "@
+ ror\\t%<w>0, %<w>1, %<w>2
+ ror\\t%<w>0, %<w>1, %<w>2"
+ [(set_attr "type" "shift_reg, rotate_imm")]
)
AFAIK since the output template for the two alternatives is identical you don't need to specify multiple