(define_insn "andhi3"
[(set (match_operand:HI 0 "register_operand" "=r")
(and:HI (match_operand:HI 1 "register_operand" "%0")
- (match_operand:HI 2 "nonmemory_operand" "ri")))]
+ (match_operand:HI 2 "nonmemory_operand" "rn")))]
""
"*
{
(define_insn "iorhi3"
[(set (match_operand:HI 0 "general_operand" "=r,r")
(ior:HI (match_operand:HI 1 "general_operand" "%0,0")
- (match_operand:HI 2 "general_operand" "J,ri")))]
+ (match_operand:HI 2 "general_operand" "J,rn")))]
""
"*
{
(define_insn "xorhi3"
[(set (match_operand:HI 0 "register_operand" "=r")
(xor:HI (match_operand:HI 1 "general_operand" "%0")
- (match_operand:HI 2 "nonmemory_operand" "ri")))]
+ (match_operand:HI 2 "nonmemory_operand" "rn")))]
""
"*
{