(casesi): Use emit_jump_insn to emit casesi0 pattern.
authorTorbjorn Granlund <tege@gnu.org>
Wed, 16 Sep 1992 23:36:52 +0000 (23:36 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Wed, 16 Sep 1992 23:36:52 +0000 (23:36 +0000)
(xorsi3): Remove `r' from output template.
(movstrsi recognizer): Add `+' to operand 0 & 1 constraints.

From-SVN: r2138

gcc/config/pa/pa.md

index 270559182e96811fddbbcbe090ee6a3fe08aa60f..a929f34740bde5c1968f7506297652b98c157bdc 100644 (file)
    (set_attr "length" "1")])
 
 (define_insn ""
-  [(set (match_operand:SI 0 "register_operand" "=a,?*r")
+  [(set (match_operand:SI 0 "register_operand" "=a,&?*r")
        (plus:SI (match_operand:SI 1 "register_operand" "r,r")
                 (high:SI (match_operand 2 "" ""))))]
   ""
 ;; therefore it is forced to operand 2.  If the count is compile-time
 ;; determined, we need two scratch registers for the unrolled code.
 (define_insn ""
-  [(set (mem:BLK (match_operand:SI 0 "register_operand" "r,r"))
-       (mem:BLK (match_operand:SI 1 "register_operand" "r,r")))
+  [(set (mem:BLK (match_operand:SI 0 "register_operand" "+r,r"))
+       (mem:BLK (match_operand:SI 1 "register_operand" "+r,r")))
    (clobber (match_dup 0))
    (clobber (match_dup 1))
    (clobber (match_scratch:SI 2 "=r,r"))                ;loop cnt/item tmp
        (xor:SI (match_operand:SI 1 "register_operand" "%r")
                (match_operand:SI 2 "register_operand" "r")))]
   ""
-  "xor %r1,%2,%0")
+  "xor %1,%2,%0")
 
 (define_insn "negdi2"
   [(set (match_operand:DI 0 "register_operand" "=r")
   if (!INT_11_BITS (operands[2]))
     operands[2] = force_reg (SImode, operands[2]);
 
-  emit_insn (gen_casesi0 (operands[0], operands[2],
-                         operands[3], operands[4]));
+  emit_jump_insn (gen_casesi0 (operands[0], operands[2],
+                              operands[3], operands[4]));
   DONE;
 }")