diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-12-26 18:12:37 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-12-26 18:12:37 -0500 |
commit | bf500664d77741f264e95927eb3f4554fdd88e90 (patch) | |
tree | 03fcae3ea4395f57126a9ab041829ee42161818f /gcc | |
parent | 5954c8a8b76b1a812a514277f0bea782d02cac30 (diff) | |
download | gcc-bf500664d77741f264e95927eb3f4554fdd88e90.zip gcc-bf500664d77741f264e95927eb3f4554fdd88e90.tar.gz gcc-bf500664d77741f264e95927eb3f4554fdd88e90.tar.bz2 |
(do_tablejump): Call emit_cmp_insn with likely-constant as second
operand.
From-SVN: r6329
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9154,8 +9154,8 @@ do_tablejump (index, mode, range, table_label, default_label) or equal to the minimum value of the range and less than or equal to the maximum value of the range. */ - emit_cmp_insn (range, index, LTU, NULL_RTX, mode, 1, 0); - emit_jump_insn (gen_bltu (default_label)); + emit_cmp_insn (index, range, GTU, NULL_RTX, mode, 1, 0); + emit_jump_insn (gen_bgtu (default_label)); /* If index is in range, it must fit in Pmode. Convert to Pmode so we can index with it. */ |