This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r238032 - in /trunk/gcc: ChangeLog config/s390/...
- From: krebbel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 06 Jul 2016 07:05:12 -0000
- Subject: r238032 - in /trunk/gcc: ChangeLog config/s390/...
Author: krebbel
Date: Wed Jul 6 07:05:11 2016
New Revision: 238032
URL: https://gcc.gnu.org/viewcvs?rev=238032&root=gcc&view=rev
Log:
S/390: Fix vecinit expansion.
The fallback routine in the S/390 vecinit expander did not check
whether each of the initializer elements is a proper general_operand.
Since revision r236582 the expander is invoked also with e.g. symbol
refs with an odd addend resulting in invalid insns.
Fixed by forcing the element into a register in such cases.
gcc/ChangeLog:
2016-07-06 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/s390.c (s390_expand_vec_init): Force initializer
element to register if it doesn't match general_operand.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/s390/s390.c