diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-11-09 15:15:47 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2017-11-09 15:15:47 +0000 |
commit | d574e624a9d156600731554133db68dc6868e7b5 (patch) | |
tree | adb5c386eba4fd4c0910cb2d7ba061783d9a9267 /gcc/gimple-builder.c | |
parent | a826c5019e1439181a822c2b5079fec22654e37b (diff) | |
download | gcc-d574e624a9d156600731554133db68dc6868e7b5.zip gcc-d574e624a9d156600731554133db68dc6868e7b5.tar.gz gcc-d574e624a9d156600731554133db68dc6868e7b5.tar.bz2 |
Add available_vector_sizes to target-supports.exp
This patch adds a routine that lists the available vector sizes
for a target and uses it for some existing target conditions.
Later patches add more uses.
The cases are taken from multiple_sizes.
2017-11-09 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
gcc/testsuite/
* lib/target-supports.exp (available_vector_sizes): New proc.
(check_effective_target_vect_multiple_sizes): Use it.
(check_effective_target_vect64): Likewise.
(check_effective_target_vect_sizes_32B_16B): Likewise.
Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r254590
Diffstat (limited to 'gcc/gimple-builder.c')
0 files changed, 0 insertions, 0 deletions