mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 03:20:27 +08:00
ifcvt.c (noce_emit_cmove): Conditionally compile call to emit_conditional_move.
* ifcvt.c (noce_emit_cmove): Conditionally compile call to emit_conditional_move. From-SVN: r33585
This commit is contained in:
parent
f0b0e152ed
commit
7e04d3c7e3
@ -1,3 +1,8 @@
|
||||
2000-05-01 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* ifcvt.c (noce_emit_cmove): Conditionally compile call to
|
||||
emit_conditional_move.
|
||||
|
||||
2000-05-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
|
||||
|
@ -758,10 +758,18 @@ noce_emit_cmove (if_info, x, code, cmp_a, cmp_b, vfalse, vtrue)
|
||||
|| ! general_operand (cmp_b, GET_MODE (cmp_b)))
|
||||
return NULL_RTX;
|
||||
|
||||
#if HAVE_conditional_move
|
||||
return emit_conditional_move (x, code, cmp_a, cmp_b, VOIDmode,
|
||||
vtrue, vfalse, GET_MODE (x),
|
||||
(code == LTU || code == GEU
|
||||
|| code == LEU || code == GTU));
|
||||
#else
|
||||
/* We'll never get here, as noce_process_if_block doesn't call the
|
||||
functions involved. Ifdef code, however, should be discouraged
|
||||
because it leads to typos in the code not selected. However,
|
||||
emit_conditional_move won't exist either. */
|
||||
return NULL_RTX;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Try only simple constants and registers here. More complex cases
|
||||
|
Loading…
x
Reference in New Issue
Block a user