* genconfig.c (main): Allow targets to override HAVE_conditional_move.
* jump.c (jump_optimize): Use it at run-time.
From-SVN: r7482
printf ("#define HAVE_cc0\n");
if (have_cmove_flag)
- printf ("#define HAVE_conditional_move\n");
+ {
+ /* ??? The #ifndef/#endif is a hack for targets like sparc where
+ conditional moves don't exist for all versions of the
+ architecture. This won't be needed after conditional move support
+ has been clean up. */
+ printf ("#ifndef HAVE_conditional_move\n");
+ printf ("#define HAVE_conditional_move 1\n");
+ printf ("#endif\n");
+ }
if (have_lo_sum_flag)
printf ("#define HAVE_lo_sum\n");
((BRANCH_COST >= 2
&& temp2 == const0_rtx)
#ifdef HAVE_conditional_move
- || 1
+ || HAVE_conditional_move
#endif
|| BRANCH_COST >= 3)))
/* INSN must either branch to the insn after TEMP or the insn
&& (reversep = can_reverse_comparison_p (temp4,
insn)))))
#ifdef HAVE_conditional_move
- || 1
+ || HAVE_conditional_move
#endif
|| BRANCH_COST >= 3)
#ifdef HAVE_cc0