(zero_extendqi*i2): Delete never matched constraints.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 24 Feb 1993 21:04:23 +0000 (13:04 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 24 Feb 1993 21:04:23 +0000 (13:04 -0800)
From-SVN: r3521

gcc/config/sparc/sparc.md

index 1a2fd25..88cadbf 100644 (file)
   "")
 
 (define_insn ""
-  [(set (match_operand:HI 0 "register_operand" "=r,r,r")
-       (zero_extend:HI (match_operand:QI 1 "sparc_operand" "r,I,Q")))]
+  [(set (match_operand:HI 0 "register_operand" "=r,r")
+       (zero_extend:HI (match_operand:QI 1 "sparc_operand" "r,Q")))]
   "GET_CODE (operands[1]) != CONST_INT"
   "@
-   and %1,0xff,%0;
-   mov (%1 & 0xff),%0
+   and %1,0xff,%0
    ldub %1,%0"
-  [(set_attr "type" "unary,move,load")
+  [(set_attr "type" "unary,load")
    (set_attr "length" "1")])
 
 (define_expand "zero_extendqisi2"
   "")
 
 (define_insn ""
-  [(set (match_operand:SI 0 "register_operand" "=r,r,r")
-       (zero_extend:SI (match_operand:QI 1 "sparc_operand" "r,I,Q")))]
+  [(set (match_operand:SI 0 "register_operand" "=r,r")
+       (zero_extend:SI (match_operand:QI 1 "sparc_operand" "r,Q")))]
   "GET_CODE (operands[1]) != CONST_INT"
   "@
    and %1,0xff,%0
-   mov (%1 & 0xff),%0
    ldub %1,%0"
-  [(set_attr "type" "unary,move,load")
+  [(set_attr "type" "unary,load")
    (set_attr "length" "1")])
 
 (define_insn ""