Commit 57b29ca6 by Uros Bizjak Committed by Uros Bizjak

alpha.c (alpha_emit_xfloating_compare): Also use cmp_code to construct REG_EQUAL note.

	* config/alpha/alpha.c (alpha_emit_xfloating_compare): Also use
	cmp_code to construct REG_EQUAL note.

From-SVN: r199897
parent 9275f73a
2013-06-10 Uros Bizjak <ubizjak@gmail.com>
* config/alpha/alpha.c (alpha_emit_xfloating_compare): Also use
cmp_code to construct REG_EQUAL note.
2013-06-09 Jakub Jelinek <jakub@redhat.com>
PR target/57568
......
......@@ -3068,7 +3068,8 @@ alpha_emit_xfloating_compare (enum rtx_code *pcode, rtx op0, rtx op1)
out = gen_reg_rtx (DImode);
/* What's actually returned is -1,0,1, not a proper boolean value. */
note = gen_rtx_UNSPEC (DImode, gen_rtvec (2, op0, op1), UNSPEC_XFLT_COMPARE);
note = gen_rtx_fmt_ee (cmp_code, VOIDmode, op0, op1);
note = gen_rtx_UNSPEC (DImode, gen_rtvec (1, note), UNSPEC_XFLT_COMPARE);
alpha_emit_xfloating_libcall (func, out, operands, 2, note);
return out;
......
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