This patch fixes some testisms I found when testing using -Wall/-Werror.
gcc/testsuite/ChangeLog:
2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
* gcc.target/arm/mve/intrinsics/vuninitializedq_float.c: Fix testism.
* gcc.target/arm/mve/intrinsics/vuninitializedq_float1.c: Likewise.
* gcc.target/arm/mve/intrinsics/vuninitializedq_int.c: Likewise.
* gcc.target/arm/mve/intrinsics/vuninitializedq_int1.c: Likewise.
+2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
+
+ * gcc.target/arm/mve/intrinsics/vuninitializedq_float.c: Fix testism.
+ * gcc.target/arm/mve/intrinsics/vuninitializedq_float1.c: Likewise.
+ * gcc.target/arm/mve/intrinsics/vuninitializedq_int.c: Likewise.
+ * gcc.target/arm/mve/intrinsics/vuninitializedq_int1.c: Likewise.
+
2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
* gcc.target/arm/mve/intrinsics/mve_vec_extracts_from_memory.c: New
#include "arm_mve.h"
+float16x8_t fa;
+float32x4_t fb;
+
void
foo ()
{
- float16x8_t fa;
- float32x4_t fb;
fa = vuninitializedq_f16 ();
fb = vuninitializedq_f32 ();
}
#include "arm_mve.h"
+float16x8_t fa, faa;
+float32x4_t fb, fbb;
+
void
foo ()
{
- float16x8_t fa, faa;
- float32x4_t fb, fbb;
fa = vuninitializedq (faa);
fb = vuninitializedq (fbb);
}
-/* { dg-final { scan-assembler-times "vstrb.8" 4444} */
+/* { dg-final { scan-assembler-times "vstrb.8" 6 } } */
/* { dg-additional-options "-O0" } */
#include "arm_mve.h"
+int8x16_t a;
+int16x8_t b;
+int32x4_t c;
+int64x2_t d;
+uint8x16_t ua;
+uint16x8_t ub;
+uint32x4_t uc;
+uint64x2_t ud;
void
foo ()
{
- int8x16_t a;
- int16x8_t b;
- int32x4_t c;
- int64x2_t d;
- uint8x16_t ua;
- uint16x8_t ub;
- uint32x4_t uc;
- uint64x2_t ud;
a = vuninitializedq_s8 ();
b = vuninitializedq_s16 ();
c = vuninitializedq_s32 ();
#include "arm_mve.h"
+int8x16_t a, aa;
+int16x8_t b, bb;
+int32x4_t c, cc;
+int64x2_t d, dd;
+uint8x16_t ua, uaa;
+uint16x8_t ub, ubb;
+uint32x4_t uc, ucc;
+uint64x2_t ud, udd;
+
void
foo ()
{
- int8x16_t a, aa;
- int16x8_t b, bb;
- int32x4_t c, cc;
- int64x2_t d, dd;
- uint8x16_t ua, uaa;
- uint16x8_t ub, ubb;
- uint32x4_t uc, ucc;
- uint64x2_t ud, udd;
a = vuninitializedq (aa);
b = vuninitializedq (bb);
c = vuninitializedq (cc);