Hi, This patch fixes some testisms I found when testing using -Wall/-Werror.
Is this OK for trunk? gcc/testsuite/ChangeLog: 2020-04-07 Andre Vieira <andre.simoesdiasvie...@arm.com> * gcc.target/arm/mve/intrinsics/vuninitializedq_float.c: Likewise. * 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.
diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_float.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_float.c index 3b9c0a740976854e7189ab23a6a8b2764c9b888a..52bad05b6219621ada414dc74ab2deebdd1c93e3 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_float.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_float.c @@ -4,11 +4,12 @@ #include "arm_mve.h" +float16x8_t fa; +float32x4_t fb; + void foo () { - float16x8_t fa; - float32x4_t fb; fa = vuninitializedq_f16 (); fb = vuninitializedq_f32 (); } diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_float1.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_float1.c index 0c94608af41fc30c65b959759704033a76bb879f..c6724a52074c6ce0361fdba66c4add831e8c13db 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_float1.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_float1.c @@ -4,13 +4,14 @@ #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 } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_int.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_int.c index 9ae17e240083a66e7c20c16ae06b99463c213bf9..13a0109a9b5380cd83f48154df231081ddb8f08e 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_int.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_int.c @@ -3,18 +3,18 @@ /* { 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 (); diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_int1.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_int1.c index e8c1f1019c95af6d871cda9c9142c346ff3b49ae..a321398709e65ee7daadfab9c6089116baccde83 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_int1.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_int1.c @@ -4,17 +4,18 @@ #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);