From b762a0ef44e1be8bb7b768e19bba5f8e6de274a8 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 15 Jul 2001 08:56:46 -0700 Subject: [PATCH] alpha.c (alpha_emit_xfloating_compare): Use CCmode instead of COMPARE for the EQUIV expression. * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode instead of COMPARE for the EQUIV expression. From-SVN: r44024 --- gcc/ChangeLog | 5 +++++ gcc/config/alpha/alpha.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 90761024ad0..4ff9680953e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-07-15 Richard Henderson + + * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode + instead of COMPARE for the EQUIV expression. + 2001-07-15 Richard Henderson * flow.c (redirect_edge_and_branch_force): Initialize diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 12bd5770049..bab97c26718 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -2406,10 +2406,10 @@ alpha_emit_xfloating_compare (code, op0, op1) operands[1] = op1; out = gen_reg_rtx (DImode); - /* ??? Strange equiv cause what's actually returned is -1,0,1, not a - proper boolean value. */ - alpha_emit_xfloating_libcall (func, out, operands, 2, - gen_rtx_COMPARE (TFmode, op0, op1)); + /* ??? Strange mode for equiv because what's actually returned + is -1,0,1, not a proper boolean value. */ + alpha_emit_xfloating_libcall (func, out, operands, 2, + gen_rtx_fmt_ee (code, CCmode, op0, op1)); return out; } -- 2.30.2