Message ID | 20240904132650.2720446-21-christophe.lyon@linaro.org |
---|---|
State | New |
Headers | show |
Series | arm: [MVE intrinsics] Re-implement more intrinsics | expand |
On 04/09/2024 14:26, Christophe Lyon wrote: > Testing v[id]dup overloads with '1' as argument for uint32_t* does not > make sense: instead of choosing the '_wb' overload, we choose the > '_n', but we already do that in the '_n' tests. > > This patch removes all such bogus foo2 functions. > > 2024-08-28 Christophe Lyon <christophe.lyon@linaro.org> > > gcc/testsuite/ > * gcc.target/arm/mve/intrinsics/vddupq_m_wb_u16.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vddupq_m_wb_u32.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vddupq_m_wb_u8.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vddupq_wb_u16.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vddupq_wb_u32.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vddupq_wb_u8.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vddupq_x_wb_u16.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vddupq_x_wb_u32.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vddupq_x_wb_u8.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vidupq_m_wb_u16.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vidupq_m_wb_u32.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vidupq_m_wb_u8.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vidupq_wb_u16.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vidupq_wb_u32.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vidupq_wb_u8.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vidupq_x_wb_u16.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vidupq_x_wb_u32.c: Remove foo2. > * gcc.target/arm/mve/intrinsics/vidupq_x_wb_u8.c: Remove foo2. OK. R. > --- > .../arm/mve/intrinsics/vddupq_m_wb_u16.c | 18 +----------------- > .../arm/mve/intrinsics/vddupq_m_wb_u32.c | 18 +----------------- > .../arm/mve/intrinsics/vddupq_m_wb_u8.c | 18 +----------------- > .../arm/mve/intrinsics/vddupq_wb_u16.c | 14 +------------- > .../arm/mve/intrinsics/vddupq_wb_u32.c | 14 +------------- > .../arm/mve/intrinsics/vddupq_wb_u8.c | 14 +------------- > .../arm/mve/intrinsics/vddupq_x_wb_u16.c | 18 +----------------- > .../arm/mve/intrinsics/vddupq_x_wb_u32.c | 18 +----------------- > .../arm/mve/intrinsics/vddupq_x_wb_u8.c | 18 +----------------- > .../arm/mve/intrinsics/vidupq_m_wb_u16.c | 18 +----------------- > .../arm/mve/intrinsics/vidupq_m_wb_u32.c | 18 +----------------- > .../arm/mve/intrinsics/vidupq_m_wb_u8.c | 18 +----------------- > .../arm/mve/intrinsics/vidupq_wb_u16.c | 14 +------------- > .../arm/mve/intrinsics/vidupq_wb_u32.c | 14 +------------- > .../arm/mve/intrinsics/vidupq_wb_u8.c | 14 +------------- > .../arm/mve/intrinsics/vidupq_x_wb_u16.c | 18 +----------------- > .../arm/mve/intrinsics/vidupq_x_wb_u32.c | 18 +----------------- > .../arm/mve/intrinsics/vidupq_x_wb_u8.c | 18 +----------------- > 18 files changed, 18 insertions(+), 282 deletions(-) > > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u16.c > index 2a907417b40..d4391358fc2 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u16.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u16.c > @@ -42,24 +42,8 @@ foo1 (uint16x8_t inactive, uint32_t *a, mve_pred16_t p) > return vddupq_m (inactive, a, 1, p); > } > > -/* > -**foo2: > -** ... > -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) > -** ... > -** vpst(?: @.*|) > -** ... > -** vddupt.u16 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint16x8_t > -foo2 (uint16x8_t inactive, mve_pred16_t p) > -{ > - return vddupq_m (inactive, 1, 1, p); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u32.c > index ffaf3734923..58609dae29f 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u32.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u32.c > @@ -42,24 +42,8 @@ foo1 (uint32x4_t inactive, uint32_t *a, mve_pred16_t p) > return vddupq_m (inactive, a, 1, p); > } > > -/* > -**foo2: > -** ... > -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) > -** ... > -** vpst(?: @.*|) > -** ... > -** vddupt.u32 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint32x4_t > -foo2 (uint32x4_t inactive, mve_pred16_t p) > -{ > - return vddupq_m (inactive, 1, 1, p); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u8.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u8.c > index ae7a4e25fe2..a4d820b3628 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u8.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u8.c > @@ -42,24 +42,8 @@ foo1 (uint8x16_t inactive, uint32_t *a, mve_pred16_t p) > return vddupq_m (inactive, a, 1, p); > } > > -/* > -**foo2: > -** ... > -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) > -** ... > -** vpst(?: @.*|) > -** ... > -** vddupt.u8 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint8x16_t > -foo2 (uint8x16_t inactive, mve_pred16_t p) > -{ > - return vddupq_m (inactive, 1, 1, p); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u16.c > index 6c54e325155..79e47bd867d 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u16.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u16.c > @@ -34,20 +34,8 @@ foo1 (uint32_t *a) > return vddupq_u16 (a, 1); > } > > -/* > -**foo2: > -** ... > -** vddup.u16 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint16x8_t > -foo2 () > -{ > - return vddupq_u16 (1, 1); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u32.c > index a8de90f7b12..d5cb77d3201 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u32.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u32.c > @@ -34,20 +34,8 @@ foo1 (uint32_t *a) > return vddupq_u32 (a, 1); > } > > -/* > -**foo2: > -** ... > -** vddup.u32 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint32x4_t > -foo2 () > -{ > - return vddupq_u32 (1, 1); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u8.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u8.c > index 5a90e069b1d..62b0f824307 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u8.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u8.c > @@ -34,20 +34,8 @@ foo1 (uint32_t *a) > return vddupq_u8 (a, 1); > } > > -/* > -**foo2: > -** ... > -** vddup.u8 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint8x16_t > -foo2 () > -{ > - return vddupq_u8 (1, 1); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u16.c > index dab65e08320..b765bc0d60e 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u16.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u16.c > @@ -42,24 +42,8 @@ foo1 (uint32_t *a, mve_pred16_t p) > return vddupq_x_u16 (a, 1, p); > } > > -/* > -**foo2: > -** ... > -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) > -** ... > -** vpst(?: @.*|) > -** ... > -** vddupt.u16 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint16x8_t > -foo2 (mve_pred16_t p) > -{ > - return vddupq_x_u16 (1, 1, p); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u32.c > index c7abcaef942..ddbd04f22e9 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u32.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u32.c > @@ -42,24 +42,8 @@ foo1 (uint32_t *a, mve_pred16_t p) > return vddupq_x_u32 (a, 1, p); > } > > -/* > -**foo2: > -** ... > -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) > -** ... > -** vpst(?: @.*|) > -** ... > -** vddupt.u32 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint32x4_t > -foo2 (mve_pred16_t p) > -{ > - return vddupq_x_u32 (1, 1, p); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u8.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u8.c > index d2c299d4e3f..bbbdaa6c7b6 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u8.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u8.c > @@ -42,24 +42,8 @@ foo1 (uint32_t *a, mve_pred16_t p) > return vddupq_x_u8 (a, 1, p); > } > > -/* > -**foo2: > -** ... > -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) > -** ... > -** vpst(?: @.*|) > -** ... > -** vddupt.u8 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint8x16_t > -foo2 (mve_pred16_t p) > -{ > - return vddupq_x_u8 (1, 1, p); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u16.c > index 19d04601809..9b4afdf177f 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u16.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u16.c > @@ -42,24 +42,8 @@ foo1 (uint16x8_t inactive, uint32_t *a, mve_pred16_t p) > return vidupq_m (inactive, a, 1, p); > } > > -/* > -**foo2: > -** ... > -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) > -** ... > -** vpst(?: @.*|) > -** ... > -** vidupt.u16 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint16x8_t > -foo2 (uint16x8_t inactive, mve_pred16_t p) > -{ > - return vidupq_m (inactive, 1, 1, p); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u32.c > index 36a8ac30564..5793d02d261 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u32.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u32.c > @@ -42,24 +42,8 @@ foo1 (uint32x4_t inactive, uint32_t *a, mve_pred16_t p) > return vidupq_m (inactive, a, 1, p); > } > > -/* > -**foo2: > -** ... > -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) > -** ... > -** vpst(?: @.*|) > -** ... > -** vidupt.u32 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint32x4_t > -foo2 (uint32x4_t inactive, mve_pred16_t p) > -{ > - return vidupq_m (inactive, 1, 1, p); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u8.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u8.c > index 75695304c65..e1d45b3b114 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u8.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u8.c > @@ -42,24 +42,8 @@ foo1 (uint8x16_t inactive, uint32_t *a, mve_pred16_t p) > return vidupq_m (inactive, a, 1, p); > } > > -/* > -**foo2: > -** ... > -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) > -** ... > -** vpst(?: @.*|) > -** ... > -** vidupt.u8 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint8x16_t > -foo2 (uint8x16_t inactive, mve_pred16_t p) > -{ > - return vidupq_m (inactive, 1, 1, p); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u16.c > index 83d9cc2a563..80cc9a08c6f 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u16.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u16.c > @@ -34,20 +34,8 @@ foo1 (uint32_t *a) > return vidupq_u16 (a, 1); > } > > -/* > -**foo2: > -** ... > -** vidup.u16 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint16x8_t > -foo2 () > -{ > - return vidupq_u16 (1, 1); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u32.c > index d73face505d..2dc77c14363 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u32.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u32.c > @@ -34,20 +34,8 @@ foo1 (uint32_t *a) > return vidupq_u32 (a, 1); > } > > -/* > -**foo2: > -** ... > -** vidup.u32 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint32x4_t > -foo2 () > -{ > - return vidupq_u32 (1, 1); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u8.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u8.c > index 75187b0eb25..87068e4e1d3 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u8.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u8.c > @@ -34,20 +34,8 @@ foo1 (uint32_t *a) > return vidupq_u8 (a, 1); > } > > -/* > -**foo2: > -** ... > -** vidup.u8 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint8x16_t > -foo2 () > -{ > - return vidupq_u8 (1, 1); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u16.c > index 31ddde4bd3a..7524780d19e 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u16.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u16.c > @@ -42,24 +42,8 @@ foo1 (uint32_t *a, mve_pred16_t p) > return vidupq_x_u16 (a, 1, p); > } > > -/* > -**foo2: > -** ... > -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) > -** ... > -** vpst(?: @.*|) > -** ... > -** vidupt.u16 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint16x8_t > -foo2 (mve_pred16_t p) > -{ > - return vidupq_x_u16 (1, 1, p); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u32.c > index c8193465a72..0d05657b886 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u32.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u32.c > @@ -42,24 +42,8 @@ foo1 (uint32_t *a, mve_pred16_t p) > return vidupq_x_u32 (a, 1, p); > } > > -/* > -**foo2: > -** ... > -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) > -** ... > -** vpst(?: @.*|) > -** ... > -** vidupt.u32 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint32x4_t > -foo2 (mve_pred16_t p) > -{ > - return vidupq_x_u32 (1, 1, p); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u8.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u8.c > index f7a628990c9..e2b077ff974 100644 > --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u8.c > +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u8.c > @@ -42,24 +42,8 @@ foo1 (uint32_t *a, mve_pred16_t p) > return vidupq_x_u8 (a, 1, p); > } > > -/* > -**foo2: > -** ... > -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) > -** ... > -** vpst(?: @.*|) > -** ... > -** vidupt.u8 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) > -** ... > -*/ > -uint8x16_t > -foo2 (mve_pred16_t p) > -{ > - return vidupq_x_u8 (1, 1, p); > -} > - > #ifdef __cplusplus > } > #endif > > -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ > \ No newline at end of file > +/* { dg-final { scan-assembler-not "__ARM_undef" } } */
diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u16.c index 2a907417b40..d4391358fc2 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u16.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u16.c @@ -42,24 +42,8 @@ foo1 (uint16x8_t inactive, uint32_t *a, mve_pred16_t p) return vddupq_m (inactive, a, 1, p); } -/* -**foo2: -** ... -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) -** ... -** vpst(?: @.*|) -** ... -** vddupt.u16 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint16x8_t -foo2 (uint16x8_t inactive, mve_pred16_t p) -{ - return vddupq_m (inactive, 1, 1, p); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u32.c index ffaf3734923..58609dae29f 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u32.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u32.c @@ -42,24 +42,8 @@ foo1 (uint32x4_t inactive, uint32_t *a, mve_pred16_t p) return vddupq_m (inactive, a, 1, p); } -/* -**foo2: -** ... -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) -** ... -** vpst(?: @.*|) -** ... -** vddupt.u32 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint32x4_t -foo2 (uint32x4_t inactive, mve_pred16_t p) -{ - return vddupq_m (inactive, 1, 1, p); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u8.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u8.c index ae7a4e25fe2..a4d820b3628 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u8.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_m_wb_u8.c @@ -42,24 +42,8 @@ foo1 (uint8x16_t inactive, uint32_t *a, mve_pred16_t p) return vddupq_m (inactive, a, 1, p); } -/* -**foo2: -** ... -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) -** ... -** vpst(?: @.*|) -** ... -** vddupt.u8 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint8x16_t -foo2 (uint8x16_t inactive, mve_pred16_t p) -{ - return vddupq_m (inactive, 1, 1, p); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u16.c index 6c54e325155..79e47bd867d 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u16.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u16.c @@ -34,20 +34,8 @@ foo1 (uint32_t *a) return vddupq_u16 (a, 1); } -/* -**foo2: -** ... -** vddup.u16 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint16x8_t -foo2 () -{ - return vddupq_u16 (1, 1); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u32.c index a8de90f7b12..d5cb77d3201 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u32.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u32.c @@ -34,20 +34,8 @@ foo1 (uint32_t *a) return vddupq_u32 (a, 1); } -/* -**foo2: -** ... -** vddup.u32 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint32x4_t -foo2 () -{ - return vddupq_u32 (1, 1); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u8.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u8.c index 5a90e069b1d..62b0f824307 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u8.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_wb_u8.c @@ -34,20 +34,8 @@ foo1 (uint32_t *a) return vddupq_u8 (a, 1); } -/* -**foo2: -** ... -** vddup.u8 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint8x16_t -foo2 () -{ - return vddupq_u8 (1, 1); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u16.c index dab65e08320..b765bc0d60e 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u16.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u16.c @@ -42,24 +42,8 @@ foo1 (uint32_t *a, mve_pred16_t p) return vddupq_x_u16 (a, 1, p); } -/* -**foo2: -** ... -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) -** ... -** vpst(?: @.*|) -** ... -** vddupt.u16 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint16x8_t -foo2 (mve_pred16_t p) -{ - return vddupq_x_u16 (1, 1, p); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u32.c index c7abcaef942..ddbd04f22e9 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u32.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u32.c @@ -42,24 +42,8 @@ foo1 (uint32_t *a, mve_pred16_t p) return vddupq_x_u32 (a, 1, p); } -/* -**foo2: -** ... -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) -** ... -** vpst(?: @.*|) -** ... -** vddupt.u32 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint32x4_t -foo2 (mve_pred16_t p) -{ - return vddupq_x_u32 (1, 1, p); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u8.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u8.c index d2c299d4e3f..bbbdaa6c7b6 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u8.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vddupq_x_wb_u8.c @@ -42,24 +42,8 @@ foo1 (uint32_t *a, mve_pred16_t p) return vddupq_x_u8 (a, 1, p); } -/* -**foo2: -** ... -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) -** ... -** vpst(?: @.*|) -** ... -** vddupt.u8 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint8x16_t -foo2 (mve_pred16_t p) -{ - return vddupq_x_u8 (1, 1, p); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u16.c index 19d04601809..9b4afdf177f 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u16.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u16.c @@ -42,24 +42,8 @@ foo1 (uint16x8_t inactive, uint32_t *a, mve_pred16_t p) return vidupq_m (inactive, a, 1, p); } -/* -**foo2: -** ... -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) -** ... -** vpst(?: @.*|) -** ... -** vidupt.u16 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint16x8_t -foo2 (uint16x8_t inactive, mve_pred16_t p) -{ - return vidupq_m (inactive, 1, 1, p); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u32.c index 36a8ac30564..5793d02d261 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u32.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u32.c @@ -42,24 +42,8 @@ foo1 (uint32x4_t inactive, uint32_t *a, mve_pred16_t p) return vidupq_m (inactive, a, 1, p); } -/* -**foo2: -** ... -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) -** ... -** vpst(?: @.*|) -** ... -** vidupt.u32 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint32x4_t -foo2 (uint32x4_t inactive, mve_pred16_t p) -{ - return vidupq_m (inactive, 1, 1, p); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u8.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u8.c index 75695304c65..e1d45b3b114 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u8.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_m_wb_u8.c @@ -42,24 +42,8 @@ foo1 (uint8x16_t inactive, uint32_t *a, mve_pred16_t p) return vidupq_m (inactive, a, 1, p); } -/* -**foo2: -** ... -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) -** ... -** vpst(?: @.*|) -** ... -** vidupt.u8 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint8x16_t -foo2 (uint8x16_t inactive, mve_pred16_t p) -{ - return vidupq_m (inactive, 1, 1, p); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u16.c index 83d9cc2a563..80cc9a08c6f 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u16.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u16.c @@ -34,20 +34,8 @@ foo1 (uint32_t *a) return vidupq_u16 (a, 1); } -/* -**foo2: -** ... -** vidup.u16 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint16x8_t -foo2 () -{ - return vidupq_u16 (1, 1); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u32.c index d73face505d..2dc77c14363 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u32.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u32.c @@ -34,20 +34,8 @@ foo1 (uint32_t *a) return vidupq_u32 (a, 1); } -/* -**foo2: -** ... -** vidup.u32 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint32x4_t -foo2 () -{ - return vidupq_u32 (1, 1); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u8.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u8.c index 75187b0eb25..87068e4e1d3 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u8.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_wb_u8.c @@ -34,20 +34,8 @@ foo1 (uint32_t *a) return vidupq_u8 (a, 1); } -/* -**foo2: -** ... -** vidup.u8 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint8x16_t -foo2 () -{ - return vidupq_u8 (1, 1); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u16.c index 31ddde4bd3a..7524780d19e 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u16.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u16.c @@ -42,24 +42,8 @@ foo1 (uint32_t *a, mve_pred16_t p) return vidupq_x_u16 (a, 1, p); } -/* -**foo2: -** ... -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) -** ... -** vpst(?: @.*|) -** ... -** vidupt.u16 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint16x8_t -foo2 (mve_pred16_t p) -{ - return vidupq_x_u16 (1, 1, p); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u32.c index c8193465a72..0d05657b886 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u32.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u32.c @@ -42,24 +42,8 @@ foo1 (uint32_t *a, mve_pred16_t p) return vidupq_x_u32 (a, 1, p); } -/* -**foo2: -** ... -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) -** ... -** vpst(?: @.*|) -** ... -** vidupt.u32 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint32x4_t -foo2 (mve_pred16_t p) -{ - return vidupq_x_u32 (1, 1, p); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u8.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u8.c index f7a628990c9..e2b077ff974 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u8.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vidupq_x_wb_u8.c @@ -42,24 +42,8 @@ foo1 (uint32_t *a, mve_pred16_t p) return vidupq_x_u8 (a, 1, p); } -/* -**foo2: -** ... -** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|) -** ... -** vpst(?: @.*|) -** ... -** vidupt.u8 q[0-9]+, (?:ip|fp|r[0-9]+), #[0-9]+(?: @.*|) -** ... -*/ -uint8x16_t -foo2 (mve_pred16_t p) -{ - return vidupq_x_u8 (1, 1, p); -} - #ifdef __cplusplus } #endif -/* { dg-final { scan-assembler-not "__ARM_undef" } } */ \ No newline at end of file +/* { dg-final { scan-assembler-not "__ARM_undef" } } */