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

wilco@gcc.gnu.org wilco@gcc.gnu.org
Wed May 30 10:31:00 GMT 2018


Author: wilco
Date: Wed May 30 10:31:21 2018
New Revision: 260951

URL: https://gcc.gnu.org/viewcvs?rev=260951&root=gcc&view=rev
Log:
[AArch64] Fix aarch64_ira_change_pseudo_allocno_class

A recent commit removing '*' from the md files caused a large regression in
h264ref.  It turns out aarch64_ira_change_pseudo_allocno_class is no longer
effective after the SVE changes, and the combination results in the regression.
This patch fixes it by explicitly checking for a subset of GENERAL_REGS and
FP_REGS.  Add a missing ? to aarch64_get_lane to fix a failure in the testsuite.

    gcc/
	* config/aarch64/aarch64.c (aarch64_ira_change_pseudo_allocno_class):
	Check for subset of GENERAL_REGS and FP_REGS.
	* config/aarch64/aarch64-simd.md (aarch64_get_lane): Increase cost of
	r=w alternative.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64-simd.md
    trunk/gcc/config/aarch64/aarch64.c



More information about the Gcc-cvs mailing list