diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-08-16 18:59:00 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-08-16 18:59:00 -0400 |
commit | 228e0c5f6cf53320d73d5acb966db5fb15b4863f (patch) | |
tree | 34044d3ed87d232e1a0c3f44ff23f40e488253bf /gcc | |
parent | 386d1816b76e68630efc773058fad479ed5fdd16 (diff) | |
download | gcc-228e0c5f6cf53320d73d5acb966db5fb15b4863f.zip gcc-228e0c5f6cf53320d73d5acb966db5fb15b4863f.tar.gz gcc-228e0c5f6cf53320d73d5acb966db5fb15b4863f.tar.bz2 |
(tablejump): Now SImode and uses cased.
From-SVN: r5169
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/ns32k/ns32k.md | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/gcc/config/ns32k/ns32k.md b/gcc/config/ns32k/ns32k.md index 556e94b..8a92a54 100644 --- a/gcc/config/ns32k/ns32k.md +++ b/gcc/config/ns32k/ns32k.md @@ -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<") |