Add SImode to comparison operator, prevents ICE during combine
authorDavid Holsgrove <david.holsgrove@xilinx.com>
Thu, 30 Jan 2014 17:18:17 +0000 (17:18 +0000)
committerMichael Eager <eager@gcc.gnu.org>
Thu, 30 Jan 2014 17:18:17 +0000 (17:18 +0000)
commit29bd5728111c90c178fd82ba455c2a686dd02542
tree0e8ea99d725ee6af8c42357de7a4d22aff1df343
parentc345a0b156755781956c1f866624e1c3224e9a7c
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.

From-SVN: r207311
gcc/ChangeLog
gcc/config/microblaze/microblaze.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/microblaze/isa/fcmp4.c [new file with mode: 0644]