(tablejump): Now SImode and uses cased.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 16 Aug 1993 22:59:00 +0000 (18:59 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 16 Aug 1993 22:59:00 +0000 (18:59 -0400)
From-SVN: r5169

gcc/config/ns32k/ns32k.md

index 556e94b..8a92a54 100644 (file)
   ""
   "jump %0")
 \f
-;;(define_insn "tablejump"
-;;  [(set (pc)
-;;     (plus:SI (match_operand:SI 0 "general_operand" "g")
-;;              (pc)))]
-;;  ""
-;;  "cased %0")
-
 (define_insn "tablejump"
   [(set (pc)
-       (plus:SI (pc) (match_operand:HI 0 "general_operand" "g")))
+       (plus:SI (pc) (match_operand:SI 0 "general_operand" "g")))
    (use (label_ref (match_operand 1 "" "")))]
   ""
   "*
 {
   ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, \"LI\",
                             CODE_LABEL_NUMBER (operands[1]));
-  return \"casew %0\";
+  return \"cased %0\";
 }")
 
-;;(define_insn ""
-;;  [(set (pc)
-;;     (plus:SI (match_operand:QI 0 "general_operand" "g")
-;;              (pc)))]
-;;  ""
-;;  "caseb %0")
-\f
 ;; Scondi instructions
 (define_insn "seq"
   [(set (match_operand:SI 0 "general_operand" "=g<")