A recent change added UNSPEC to the CCMP patterns to stop combine optimizing the...
authorWilco Dijkstra <wdijkstr@arm.com>
Thu, 28 Jan 2016 15:41:46 +0000 (15:41 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Thu, 28 Jan 2016 15:41:46 +0000 (15:41 +0000)
commit6dfeb7ceac74b61cb71b0c39dc3b02897aeb7087
treebc7a7c873de37353cf30b98682c4cbb8d7781166
parente448880c20c01a2925c7707838841c8c117c9e8d
A recent change added UNSPEC to the CCMP patterns to stop combine optimizing the immediate in a rare case.

A recent change added UNSPEC to the CCMP patterns to stop combine optimizing
the immediate in a rare case.  This requires a fix to the CCMP cost
calculation as the CCMP instruction with unspec is no longer recognized.
Fix the ccmp_1.c test by adding -ffinite-math-only so FCCMPE is emitted on
relational compares.

2016-01-28  Wilco Dijkstra  <wdijkstr@arm.com>

    gcc/
* config/aarch64/aarch64.c (aarch64_if_then_else_costs):
Remove CONST_INT_P check in CCMP cost calculation.

    gcc/testsuite/
* gcc.target/aarch64/ccmp_1.c: Fix test issue.

From-SVN: r232930
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/ccmp_1.c