Add available_vector_sizes to target-supports.exp

Programming / Compilers / GCC - rsandifo [138bc75d-0d04-0410-961f-82ee72b054a4] - 9 November 2017 15:15 EST

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 Alan Hayward David Sherwood

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.

50cdfec076e Add available_vector_sizes to target-supports.exp
gcc/testsuite/ChangeLog | 9 +++++
gcc/testsuite/lib/target-supports.exp | 62 ++++++++++++++---------------------
2 files changed, 34 insertions(+), 37 deletions(-)

Upstream: gcc.gnu.org


  • Share