From: Richard Henderson Date: Sun, 15 Jul 2001 15:56:46 +0000 (-0700) Subject: alpha.c (alpha_emit_xfloating_compare): Use CCmode instead of COMPARE for the EQUIV... X-Git-Tag: prereleases/libstdc++-3.0.95~3269 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b762a0ef44e1be8bb7b768e19bba5f8e6de274a8;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 90761024ad09..4ff9680953e7 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 12bd57700495..bab97c267189 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; }