r273493 - in /branches/gcc-8-branch/gcc: Change...

krebbel@gcc.gnu.org krebbel@gcc.gnu.org
Mon Jul 15 14:27:00 GMT 2019


Author: krebbel
Date: Mon Jul 15 14:27:16 2019
New Revision: 273493

URL: https://gcc.gnu.org/viewcvs?rev=273493&root=gcc&view=rev
Log:
S/390: Fix vector shift count operand

We currently use subst definitions to handle the different variants of shift
count operands. Unfortunately, in the vector shift pattern the shift count
operand is used directly. Without it being adjusted for the 'subst' variants the
displacement value is omitted resulting in a wrong shift count being applied.

This patch needs to be applied to older branches as well.

gcc/ChangeLog:

2019-07-15  Andreas Krebbel  <krebbel@linux.ibm.com>

	Backport from mainline
	2019-07-01  Andreas Krebbel  <krebbel@linux.ibm.com>

	* config/s390/vector.md: Fix shift count operand printing.

gcc/testsuite/ChangeLog:

2019-07-15  Andreas Krebbel  <krebbel@linux.ibm.com>

	Backport from mainline
	2019-07-01  Andreas Krebbel  <krebbel@linux.ibm.com>

	* gcc.target/s390/vector/vec-shift-2.c: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.target/s390/vector/vec-shift-2.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/s390/vector.md
    branches/gcc-8-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list