alpha.c (alpha_emit_conditional_move): Handle TFmode compares.

* config/alpha/alpha.c (alpha_emit_conditional_move): Handle
	TFmode compares.

From-SVN: r150773
This commit is contained in:
Uros Bizjak 2009-08-14 20:54:48 +02:00
parent c105751c46
commit 387c39e1ec
2 changed files with 16 additions and 5 deletions

View File

@ -1,7 +1,11 @@
2009-08-14 Uros Bizjak <ubizjak@gmail.com>
* config/alpha/alpha.c (alpha_emit_conditional_move): Handle
TFmode compares.
2009-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
PR middle-end/30789
* builtins.c (do_mpc_arg2): Make extern, define for any MPC
version. Move declaration...
* real.h (do_mpc_arg2): ... here.
@ -27,7 +31,7 @@
PR target/40934
* config/i386/i386.c (ix86_fp_comparison_strategy):
Only enable/disable sahf at function granularity.
Only enable/disable sahf at function granularity.
2009-08-14 Hans-Peter Nilsson <hp@axis.com>
@ -58,11 +62,11 @@
2009-08-13 Ghassan Shobaki <ghassan.shobaki@amd.com>
* tree-ssa-loop-prefetch.c
(prune_ref_by_group_reuse): Enhance probabilistic analysis
* tree-ssa-loop-prefetch.c
(prune_ref_by_group_reuse): Enhance probabilistic analysis
for long-stride pruning.
(compute_miss_rate): New function to compute the probability
that two memory references access different cache lines.
that two memory references access different cache lines.
2009-08-13 Dave Korn <dave.korn.cygwin@gmail.com>

View File

@ -2666,6 +2666,13 @@ alpha_emit_conditional_move (rtx cmp, enum machine_mode mode)
int local_fast_math = flag_unsafe_math_optimizations;
rtx tem;
if (cmp_mode == TFmode)
{
op0 = alpha_emit_xfloating_compare (&code, op0, op1);
op1 = const0_rtx;
cmp_mode = DImode;
}
gcc_assert (cmp_mode == DFmode || cmp_mode == DImode);
if (FLOAT_MODE_P (cmp_mode) != FLOAT_MODE_P (mode))