Commit 387c39e1 by Uros Bizjak

alpha.c (alpha_emit_conditional_move): Handle TFmode compares.

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

From-SVN: r150773
parent c105751c
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> 2009-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
PR middle-end/30789 PR middle-end/30789
* builtins.c (do_mpc_arg2): Make extern, define for any MPC * builtins.c (do_mpc_arg2): Make extern, define for any MPC
version. Move declaration... version. Move declaration...
* real.h (do_mpc_arg2): ... here. * real.h (do_mpc_arg2): ... here.
...@@ -27,7 +31,7 @@ ...@@ -27,7 +31,7 @@
PR target/40934 PR target/40934
* config/i386/i386.c (ix86_fp_comparison_strategy): * 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> 2009-08-14 Hans-Peter Nilsson <hp@axis.com>
...@@ -58,11 +62,11 @@ ...@@ -58,11 +62,11 @@
2009-08-13 Ghassan Shobaki <ghassan.shobaki@amd.com> 2009-08-13 Ghassan Shobaki <ghassan.shobaki@amd.com>
* tree-ssa-loop-prefetch.c * tree-ssa-loop-prefetch.c
(prune_ref_by_group_reuse): Enhance probabilistic analysis (prune_ref_by_group_reuse): Enhance probabilistic analysis
for long-stride pruning. for long-stride pruning.
(compute_miss_rate): New function to compute the probability (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> 2009-08-13 Dave Korn <dave.korn.cygwin@gmail.com>
......
...@@ -2666,6 +2666,13 @@ alpha_emit_conditional_move (rtx cmp, enum machine_mode mode) ...@@ -2666,6 +2666,13 @@ alpha_emit_conditional_move (rtx cmp, enum machine_mode mode)
int local_fast_math = flag_unsafe_math_optimizations; int local_fast_math = flag_unsafe_math_optimizations;
rtx tem; 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); gcc_assert (cmp_mode == DFmode || cmp_mode == DImode);
if (FLOAT_MODE_P (cmp_mode) != FLOAT_MODE_P (mode)) if (FLOAT_MODE_P (cmp_mode) != FLOAT_MODE_P (mode))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment