"TARGET_POWERPC64"
"@
lbz%U1%X1 %0,%1
- andi %0,%1,0xff"
+ rldicl %0,%1,0,56"
[(set_attr "type" "load,*")])
(define_insn ""
(const_int 0)))
(clobber (match_scratch:DI 2 "=r"))]
"TARGET_POWERPC64"
- "andi. %2,%1,0xff"
+ "rldicl. %2,%1,0,56"
[(set_attr "type" "compare")])
(define_insn ""
(set (match_operand:DI 0 "gpc_reg_operand" "=r")
(zero_extend:DI (match_dup 1)))]
"TARGET_POWERPC64"
- "andi. %0,%1,0xff"
+ "rldicl. %0,%1,0,56"
[(set_attr "type" "compare")])
(define_expand "extendqidi2"
"TARGET_POWERPC64"
"@
lhz%U1%X1 %0,%1
- andi %0,%1,0xffff"
+ rldicl %0,%1,0,48"
[(set_attr "type" "load,*")])
(define_insn ""
(const_int 0)))
(clobber (match_scratch:DI 2 "=r"))]
"TARGET_POWERPC64"
- "andi. %2,%1,0xffff"
+ "rldicl. %2,%1,0,48"
[(set_attr "type" "compare")])
(define_insn ""
(set (match_operand:DI 0 "gpc_reg_operand" "=r")
(zero_extend:DI (match_dup 1)))]
"TARGET_POWERPC64"
- "andi. %0,%1,0xffff"
+ "rldicl. %0,%1,0,48"
[(set_attr "type" "compare")])
(define_expand "extendhidi2"