testsuite: Fix Advanced SIMD failures for SVE

This patch just adds some missing +nosve directives to Advanced
SIMD vectorisation tests.

gcc/testsuite/
	* gcc.target/aarch64/asimd-mull-elem.c: Add +nosve.
	* gcc.target/aarch64/pr98772.c: Likewise.
	* gcc.target/aarch64/simd/vect_su_add_sub.c: Likewise.
This commit is contained in:
Richard Sandiford 2021-04-08 15:00:04 +01:00
parent d3f78917e1
commit a45fe62102
3 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,8 @@
/* { dg-require-effective-target vect_float } */
/* { dg-options "-Ofast" } */
#pragma GCC target "+nosve"
#include <arm_neon.h>
void s_mult_i (int32_t* restrict res, int32_t* restrict a, int32_t b)

View File

@ -1,5 +1,8 @@
/* { dg-do run } */
/* { dg-options "-O3 -save-temps" } */
#pragma GCC target "+nosve"
#include <stdint.h>
#include <string.h>

View File

@ -1,6 +1,8 @@
/* { dg-do compile } */
/* { dg-options "-O3" } */
#pragma GCC target "+nosve"
typedef int __attribute__ ((mode (SI))) int32_t;
typedef int __attribute__ ((mode (DI))) int64_t;
typedef unsigned __attribute__ ((mode (SI))) size_t;