Update vect_char_add target selector to use its own cache
authorJoel Hutton <Joel.Hutton@arm.com>
Tue, 26 Nov 2019 22:11:39 +0000 (22:11 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 26 Nov 2019 22:11:39 +0000 (22:11 +0000)
commite4c935cb98add40d0a6350a798a8258951dfc9d9
tree68b2ba0ff9fec055d4f0fefd8a7a89e80ad6c1f4
parent4e4a8c28f3da0264eb76dff0efe21b4b5ce63b84
Update vect_char_add target selector to use its own cache

This patch updates the vect_char_add target selector to use its own
cache instead of the vect_int cache.

This was causing a situation where bb-slp-40.c would fail on sparc when
run after other tests that use the vect_int target selector, but pass
when run on its own.

2019-11-26  Joel Hutton  <Joel.Hutton@arm.com>

gcc/testsuite/
PR testsuite/92391
* lib/target-supports.exp (check_effective_target_vect_char_add):
Use a separate cache entry from vect_int.

From-SVN: r278738
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp