(do_tablejump): Call emit_cmp_insn with likely-constant as second

operand.

From-SVN: r6329
This commit is contained in:
Richard Kenner 1993-12-26 18:12:37 -05:00
parent 5954c8a8b7
commit bf500664d7
1 changed files with 2 additions and 2 deletions

View File

@ -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. */