""
"@
lbz%U1%X1 %0,%1
- rlinm %0,%1,0,24,31"
+ rlinm %0,%1,0,0x000000FF"
[(set_attr "type" "load,*")])
(define_insn ""
(const_int 0)))
(clobber (match_scratch:SI 2 "=r"))]
""
- "andil. %2,%1,255"
+ "andil. %2,%1,0x00FF"
[(set_attr "type" "compare")])
(define_insn ""
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(zero_extend:SI (match_dup 1)))]
""
- "andil. %0,%1,255"
+ "andil. %0,%1,0x00FF"
[(set_attr "type" "compare")])
(define_expand "zero_extendqihi2"
""
"@
lbz%U1%X1 %0,%1
- rlinm %0,%1,0,24,31"
+ rlinm %0,%1,0,0x000000FF"
[(set_attr "type" "load,*")])
(define_expand "zero_extendhisi2"
""
"@
lhz%U1%X1 %0,%1
- rlinm %0,%1,0,16,31"
+ rlinm %0,%1,0,0x0000FFFF"
[(set_attr "type" "load,*")])
(define_insn ""
(const_int 0)))
(clobber (match_scratch:SI 2 "=r"))]
""
- "andil. %2,%1,65535"
+ "andil. %2,%1,0xFFFF"
[(set_attr "type" "compare")])
(define_insn ""
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(zero_extend:SI (match_dup 1)))]
""
- "andil. %0,%1,65535"
+ "andil. %0,%1,0xFFFF"
[(set_attr "type" "compare")])
(define_expand "extendhisi2"
(rotate:SI (match_operand:SI 1 "gpc_reg_operand" "r")
(match_operand:SI 2 "reg_or_cint_operand" "ri")))]
""
- "rl%I2nm %0,%1,%h2,0,31")
+ "rl%I2nm %0,%1,%h2,0xFFFFFFFF")
(define_insn ""
[(set (match_operand:CC 0 "cc_reg_operand" "=x")
(const_int 0)))
(clobber (match_scratch:SI 3 "=r"))]
""
- "rl%I2nm. %3,%1,%h2,0,31"
+ "rl%I2nm. %3,%1,%h2,0xFFFFFFFF"
[(set_attr "type" "delayed_compare")])
(define_insn ""
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(rotate:SI (match_dup 1) (match_dup 2)))]
""
- "rl%I2nm. %0,%1,%h2,0,31"
+ "rl%I2nm. %0,%1,%h2,0xFFFFFFFF"
[(set_attr "type" "delayed_compare")])
(define_insn ""
(rotate:SI (match_operand:SI 1 "gpc_reg_operand" "r")
(match_operand:SI 2 "reg_or_cint_operand" "ri")) 0)))]
""
- "rl%I2nm %0,%1,%h2,24,31")
+ "rl%I2nm %0,%1,%h2,0x000000FF")
(define_insn ""
[(set (match_operand:CC 0 "cc_reg_operand" "=x")
(const_int 0)))
(clobber (match_scratch:SI 3 "=r"))]
""
- "rl%I2nm. %3,%1,%h2,24,31"
+ "rl%I2nm. %3,%1,%h2,0x000000FF"
[(set_attr "type" "delayed_compare")])
(define_insn ""
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(zero_extend:SI (subreg:QI (rotate:SI (match_dup 1) (match_dup 2)) 0)))]
""
- "rl%I2nm. %0,%1,%h2,24,31"
+ "rl%I2nm. %0,%1,%h2,0x000000FF"
[(set_attr "type" "delayed_compare")])
(define_insn ""
(rotate:SI (match_operand:SI 1 "gpc_reg_operand" "r")
(match_operand:SI 2 "reg_or_cint_operand" "ri")) 0)))]
""
- "rl%I2nm %0,%1,%h2,16,31")
+ "rl%I2nm %0,%1,%h2,0x0000FFFF")
(define_insn ""
[(set (match_operand:CC 0 "cc_reg_operand" "=x")
(const_int 0)))
(clobber (match_scratch:SI 3 "=r"))]
""
- "rl%I2nm. %3,%1,%h2,16,31"
+ "rl%I2nm. %3,%1,%h2,0x0000FFFF"
[(set_attr "type" "delayed_compare")])
(define_insn ""
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(zero_extend:SI (subreg:HI (rotate:SI (match_dup 1) (match_dup 2)) 0)))]
""
- "rl%I2nm. %0,%1,%h2,16,31"
+ "rl%I2nm. %0,%1,%h2,0x0000FFFF"
[(set_attr "type" "delayed_compare")])
;; Note that we use "sle." instead of "sl." so that we can set
(lshiftrt:SI (match_operand:SI 1 "gpc_reg_operand" "r")
(match_operand:SI 2 "const_int_operand" "i")) 0)))]
"includes_rshift_p (operands[2], gen_rtx (CONST_INT, VOIDmode, 255))"
- "rlinm %0,%1,%s2,24,31")
+ "rlinm %0,%1,%s2,0x000000FF")
(define_insn ""
[(set (match_operand:CC 0 "cc_reg_operand" "=x")
(const_int 0)))
(clobber (match_scratch:SI 3 "=r"))]
"includes_rshift_p (operands[2], gen_rtx (CONST_INT, VOIDmode, 255))"
- "rlinm. %3,%1,%s2,24,31"
+ "rlinm. %3,%1,%s2,0x000000FF"
[(set_attr "type" "delayed_compare")])
(define_insn ""
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(zero_extend:SI (subreg:QI (lshiftrt:SI (match_dup 1) (match_dup 2)) 0)))]
"includes_rshift_p (operands[2], gen_rtx (CONST_INT, VOIDmode, 255))"
- "rlinm. %0,%1,%s2,24,31"
+ "rlinm. %0,%1,%s2,0x000000FF"
[(set_attr "type" "delayed_compare")])
(define_insn ""
(lshiftrt:SI (match_operand:SI 1 "gpc_reg_operand" "r")
(match_operand:SI 2 "const_int_operand" "i")) 0)))]
"includes_rshift_p (operands[2], gen_rtx (CONST_INT, VOIDmode, 65535))"
- "rlinm %0,%1,%s2,16,31")
+ "rlinm %0,%1,%s2,0x0000FFFF")
(define_insn ""
[(set (match_operand:CC 0 "cc_reg_operand" "=x")
(const_int 0)))
(clobber (match_scratch:SI 3 "=r"))]
"includes_rshift_p (operands[2], gen_rtx (CONST_INT, VOIDmode, 65535))"
- "rlinm. %3,%1,%s2,16,31"
+ "rlinm. %3,%1,%s2,0x0000FFFF"
[(set_attr "type" "delayed_compare")])
(define_insn ""
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(zero_extend:SI (subreg:HI (lshiftrt:SI (match_dup 1) (match_dup 2)) 0)))]
"includes_rshift_p (operands[2], gen_rtx (CONST_INT, VOIDmode, 65535))"
- "rlinm. %0,%1,%s2,16,31"
+ "rlinm. %0,%1,%s2,0x0000FFFF"
[(set_attr "type" "delayed_compare")])
(define_insn ""
"@
mcrf %0,%1
mtcrf 128,%1
- rlinm %1,%1,%F0,0,31\;mtcrf %R0,%1\;rlinm %1,%1,%f0,0,31
+ rlinm %1,%1,%F0,0xFFFFFFFF\;mtcrf %R0,%1\;rlinm %1,%1,%f0,0xFFFFFFFF
mfcr %0
- mfcr %0\;rlinm %0,%0,%f1,0,3
+ mfcr %0\;rlinm %0,%0,%f1,0xF0000000
ai %0,%1,0
l%U1%X1 %0,%1
st%U0%U1 %1,%0"
[(match_operand 2 "cc_reg_operand" "y")
(const_int 0)]))]
""
- "%D1mfcr %0\;rlinm %0,%0,%J1,31,31"
+ "%D1mfcr %0\;rlinm %0,%0,%J1,0x00000001"
[(set_attr "length" "12")])
(define_insn ""
(set (match_operand:SI 3 "gpc_reg_operand" "=r")
(match_op_dup 1 [(match_dup 2) (const_int 0)]))]
""
- "%D1mfcr %3\;rlinm. %3,%3,%J1,31,31"
+ "%D1mfcr %3\;rlinm. %3,%3,%J1,0x00000001"
[(set_attr "type" "delayed_compare")
(set_attr "length" "12")])
[(match_operand 5 "cc_reg_operand" "y")
(const_int 0)]))]
"REGNO (operands[2]) != REGNO (operands[5])"
- "%D1%D4mfcr %3\;rlinm %0,%3,%J1,31,31\;rlinm %3,%3,%J4,31,31"
+ "%D1%D4mfcr %3\;rlinm %0,%3,%J1,0x00000001\;rlinm %3,%3,%J4,0x00000001"
[(set_attr "length" "20")])
;; There are some scc insns that can be done directly, without a compare.