mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
9275f73ae5
commit
57b29ca675
|
|
@ -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>
|
2013-06-09 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
PR target/57568
|
PR target/57568
|
||||||
|
|
|
||||||
|
|
@ -3068,7 +3068,8 @@ alpha_emit_xfloating_compare (enum rtx_code *pcode, rtx op0, rtx op1)
|
||||||
out = gen_reg_rtx (DImode);
|
out = gen_reg_rtx (DImode);
|
||||||
|
|
||||||
/* What's actually returned is -1,0,1, not a proper boolean value. */
|
/* 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);
|
alpha_emit_xfloating_libcall (func, out, operands, 2, note);
|
||||||
|
|
||||||
return out;
|
return out;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue