diff options
author | ktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-02-20 14:05:51 +0000 |
---|---|---|
committer | ktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-02-20 14:05:51 +0000 |
commit | aadc98cba323ded6db12b72efd0caedcbb999cb7 (patch) | |
tree | 4cf8cd26b5ea9500187020a5b5fad34f124e8436 /gcc/ada | |
parent | 382167e867242a237c2b7784de32d7737936ca33 (diff) | |
download | gcc-aadc98cba323ded6db12b72efd0caedcbb999cb7.tar.gz |
[AArch64] Fix wrong-code bug in right-shift SISD patterns
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220860 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions