]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/alpha/alpha.c (alpha_emit_xfloating_compare): Also use
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Jun 2013 13:54:30 +0000 (13:54 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Jun 2013 13:54:30 +0000 (13:54 +0000)
cmp_code to construct REG_EQUAL note.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199897 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/alpha/alpha.c

index 2767fbb6904e0f3cababb0a64b8dcf1596a5fc57..0176137987f93cdcd08248d1f8a1ab19f8a8d898 100644 (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
index 267067013503e6a5b08e61b55ad529dd8e30d96c..5f5b33e347b409695dfb479cbd57e5d0271e1a92 100644 (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;