Commit 228e0c5f by Richard Kenner

(tablejump): Now SImode and uses cased.

From-SVN: r5169
parent 386d1816
......@@ -2355,32 +2355,18 @@
""
"jump %0")
;;(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")
;; Scondi instructions
(define_insn "seq"
[(set (match_operand:SI 0 "general_operand" "=g<")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment