A recent change added UNSPEC to the CCMP patterns to stop combine optimizing
commitd66fdd7593345f360d2ab9307ef80f9477f649f7
authorwilco <wilco@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jan 2016 15:41:46 +0000 (28 15:41 +0000)
committerwilco <wilco@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jan 2016 15:41:46 +0000 (28 15:41 +0000)
treebc7a7c873de37353cf30b98682c4cbb8d7781166
parent60763a085caf53e4832349f7bf7a1d80914e9c2e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232930 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/ccmp_1.c