Add a vect_masked_store target selector

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

This patch adds a target selector that says whether the target supports IFN_MASK_STORE.

2017-11-09 Richard Sandiford Alan Hayward David Sherwood

gcc/
- doc/sourcebuild.texi (vect_masked_store): Document.

gcc/testsuite/
- lib/target-supports.exp (check_effective_target_vect_masked_store): New proc.
- gcc.dg/vect/vect-cselim-1.c (foo): Mention that the second loop is vectorizable with masked stores. Update scan-tree-dump-times accordingly.

3f7db034374 Add a vect_masked_store target selector
gcc/ChangeLog | 6 ++++++
gcc/doc/sourcebuild.texi | 3 +++
gcc/testsuite/ChangeLog | 10 ++++++++++
gcc/testsuite/gcc.dg/vect/vect-cselim-1.c | 5 +++--
gcc/testsuite/lib/target-supports.exp | 6 ++++++
5 files changed, 28 insertions(+), 2 deletions(-)

Upstream: gcc.gnu.org


  • Share