Add SImode to comparison operator, prevents ICE during combine
authoreager <eager@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Jan 2014 17:18:17 +0000 (17:18 +0000)
committereager <eager@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Jan 2014 17:18:17 +0000 (17:18 +0000)
commitfb32bcd744bea23f622d0166dc310e444b2c1889
tree0e8ea99d725ee6af8c42357de7a4d22aff1df343
parentbc6d465da4f427db696ad205709d6500d7b25674
Add SImode to comparison operator, prevents ICE during combine
rtl pass with error message;

internal compiler error: in simplify_subreg, at simplify-rtx.c:5725

Use ordered_comparison_operator predicate to limit operators to
those fcmp can handle, and letting compiler reorder insns to
accomodate unordered as necessary

gcc/ChangeLog

2013-11-26  David Holsgrove <david.holsgrove@xilinx.com>

 * config/microblaze/microblaze.md(cstoresf4, cbranchsf4): Replace
   comparison_operator with ordered_comparison_operator.

testsuite/ChangeLog

2014-01-22  David holsgrove <david.holsgrove@xilinx.com>

 * testsuite/gcc.target/microblaze/isa/fcmp4.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207311 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/microblaze/microblaze.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/microblaze/isa/fcmp4.c [new file with mode: 0644]