diff options
author | Andreas Krebbel <krebbel@linux.ibm.com> | 2019-03-13 09:51:38 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2019-03-13 09:51:38 +0000 |
commit | f5eb41ce2d72f465fe53a33461c635f66be04a0f (patch) | |
tree | afd657e05093177f3b48748e0cbd759fb5f21cf6 /gcc/rtl-error.c | |
parent | 4344ab1c80fe364488ecb01021a07259df0ae5ef (diff) | |
download | gcc-f5eb41ce2d72f465fe53a33461c635f66be04a0f.zip gcc-f5eb41ce2d72f465fe53a33461c635f66be04a0f.tar.gz gcc-f5eb41ce2d72f465fe53a33461c635f66be04a0f.tar.bz2 |
S/390: Fix immediate vector operands for some builtins.
This fixes a problem with vec_add/sub_u128 builtins. The
s390_expand_builtin backend function is supposed to convert the
operand to TImode *AND* load it into a vector register. The current
implementation did only the conversion and gave up then.
gcc/ChangeLog:
2019-03-13 Andreas Krebbel <krebbel@linux.ibm.com>
Backport from mainline
2019-03-11 Andreas Krebbel <krebbel@linux.ibm.com>
* config/s390/s390.c (s390_expand_builtin): Do the copy_to_reg not
only on the else branch.
gcc/testsuite/ChangeLog:
2019-03-13 Andreas Krebbel <krebbel@linux.ibm.com>
Backport from mainline
2019-03-11 Andreas Krebbel <krebbel@linux.ibm.com>
* gcc.target/s390/zvector/vec-addc-u128.c: New test.
From-SVN: r269643
Diffstat (limited to 'gcc/rtl-error.c')
0 files changed, 0 insertions, 0 deletions