diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-11-20 21:13:05 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-11-20 21:13:05 +0000 |
commit | 28cebdb178ecfad17726711c78e1aa669cb5393c (patch) | |
tree | ae9c21d88ff45a09115fc3160e17979594875b7c /libgo/runtime/stack.c | |
parent | be12e7c72676a25cf1cd2fef513066283887760a (diff) | |
download | gcc-28cebdb178ecfad17726711c78e1aa669cb5393c.zip gcc-28cebdb178ecfad17726711c78e1aa669cb5393c.tar.gz gcc-28cebdb178ecfad17726711c78e1aa669cb5393c.tar.bz2 |
Restrict bb-slp-40.c to targets with VnQI addition (PR 92366)
bb-slp-40.c fails on SPARC targets without VIS4 because it
requires addition on vectors of bytes. There doesn't seem to be
an existing target selector for this, so I added vect_char_add.
(Wasn't sure whether to use vect_char_add, for consistency
with vect_no_int_add/vect_int_mult etc., or vect_add_char for
consistency with vect_shift_char etc.)
I took the target list from vect_int and removed targets that didn't
seem to support the operation (namely sparc*, since we don't seem to
have any test for VIS4, niagara7 or m8, and alpha*-*-*.)
2019-11-20 Richard Sandiford <richard.sandiford@arm.com>
gcc/
PR testsuite/92366
* doc/sourcebuild.texi (vect_char_add): Document.
gcc/testsuite/
PR testsuite/92366
* lib/target-supports.exp (check_effective_target_vect_char_add):
New proc.
* gcc.dg/vect/bb-slp-40.c: Require vect_char_add instead of vect_int.
From-SVN: r278532
Diffstat (limited to 'libgo/runtime/stack.c')
0 files changed, 0 insertions, 0 deletions