r220863 - in /branches/gcc-4_9-branch/gcc: Chan...

ktkachov@gcc.gnu.org ktkachov@gcc.gnu.org
Fri Feb 20 14:23:00 GMT 2015


Author: ktkachov
Date: Fri Feb 20 14:23:02 2015
New Revision: 220863

URL: https://gcc.gnu.org/viewcvs?rev=220863&root=gcc&view=rev
Log:
[AArch64] Fix wrong-code bug in right-shift SISD patterns

	Backport from mainline
	2015-02-20  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/aarch64/aarch64.md (*aarch64_lshr_sisd_or_int_<mode>3):
	Mark operand 0 as earlyclobber in 2nd alternative.
	(1st define_split below *aarch64_lshr_sisd_or_int_<mode>3):
	Write negated shift amount into QI lowpart operand 0 and use it
	in the shift step.
	(2nd define_split below *aarch64_lshr_sisd_or_int_<mode>3): Likewise.

	* gcc.target/aarch64/sisd-shft-neg_1.c: New test.


Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/aarch64/sisd-shft-neg_1.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/config/aarch64/aarch64.md
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list