r232930 - in /trunk/gcc: ChangeLog config/aarch...

wilco@gcc.gnu.org wilco@gcc.gnu.org
Thu Jan 28 15:41:00 GMT 2016


Author: wilco
Date: Thu Jan 28 15:41:46 2016
New Revision: 232930

URL: https://gcc.gnu.org/viewcvs?rev=232930&root=gcc&view=rev
Log:
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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/aarch64/ccmp_1.c



More information about the Gcc-cvs mailing list