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
This commit is contained in:
Uros Bizjak 2013-06-10 15:54:30 +02:00 committed by Uros Bizjak
parent 9275f73ae5
commit 57b29ca675
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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;