middle-end/112622 - adjust arm testcases
The error message improved, adjust arm specific testcases. * gcc.target/arm/bfloat16_vector_typecheck_1.c: Adjust. * gcc.target/arm/bfloat16_vector_typecheck_2.c: Likewise. * gcc.target/aarch64/bfloat16_vector_typecheck_1.c: Likewise. * gcc.target/aarch64/bfloat16_vector_typecheck_2.c: Likewise.
This commit is contained in:
parent
c656d268c9
commit
f48244fad2
4 changed files with 16 additions and 16 deletions
|
@ -127,12 +127,12 @@ bfloat16x4_t footest (bfloat16x4_t vector0)
|
|||
(void) glob_bfloat_vec;
|
||||
(bfloat16x4_t) glob_bfloat_vec;
|
||||
|
||||
(bfloat16_t) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(bfloat16_t) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
(short) glob_bfloat_vec; /* { dg-error {cannot convert a vector of type 'bfloat16x4_t' to type 'short int' which has different size} } */
|
||||
(int) glob_bfloat_vec; /* { dg-error {cannot convert a vector of type 'bfloat16x4_t' to type 'int' which has different size} } */
|
||||
(float16_t) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(float) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(double) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(float16_t) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
(float) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
(double) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
|
||||
(int32x4_t) glob_bfloat_vec; /* { dg-error {cannot convert a value of type 'bfloat16x4_t' to vector type '__Int32x4_t' which has different size} } */
|
||||
(float32x4_t) glob_bfloat_vec; /* { dg-error {cannot convert a value of type 'bfloat16x4_t' to vector type '__Float32x4_t' which has different size} } */
|
||||
|
|
|
@ -126,12 +126,12 @@ bfloat16x8_t footest (bfloat16x8_t vector0)
|
|||
(void) glob_bfloat_vec;
|
||||
(bfloat16x8_t) glob_bfloat_vec;
|
||||
|
||||
(bfloat16_t) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(bfloat16_t) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
(short) glob_bfloat_vec; /* { dg-error {cannot convert a vector of type 'bfloat16x8_t' to type 'short int' which has different size} } */
|
||||
(int) glob_bfloat_vec; /* { dg-error {cannot convert a vector of type 'bfloat16x8_t' to type 'int' which has different size} } */
|
||||
(float16_t) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(float) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(double) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(float16_t) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
(float) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
(double) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
|
||||
(int32x4_t) glob_bfloat_vec;
|
||||
(float32x4_t) glob_bfloat_vec;
|
||||
|
|
|
@ -130,12 +130,12 @@ bfloat16x4_t footest (bfloat16x4_t vector0)
|
|||
(void) glob_bfloat_vec;
|
||||
(bfloat16x4_t) glob_bfloat_vec;
|
||||
|
||||
(bfloat16_t) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(bfloat16_t) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
(short) glob_bfloat_vec; /* { dg-error {cannot convert a vector of type 'bfloat16x4_t' to type 'short int' which has different size} } */
|
||||
(int) glob_bfloat_vec; /* { dg-error {cannot convert a vector of type 'bfloat16x4_t' to type 'int' which has different size} } */
|
||||
(float16_t) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(float) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(double) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(float16_t) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
(float) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
(double) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
|
||||
(int32x4_t) glob_bfloat_vec; /* { dg-error {cannot convert a value of type 'bfloat16x4_t' to vector type '__simd128_int32_t' which has different size} } */
|
||||
(float32x4_t) glob_bfloat_vec; /* { dg-error {cannot convert a value of type 'bfloat16x4_t' to vector type '__simd128_float32_t' which has different size} } */
|
||||
|
|
|
@ -122,12 +122,12 @@ bfloat16x8_t footest (bfloat16x8_t vector0)
|
|||
(void) glob_bfloat_vec;
|
||||
(bfloat16x8_t) glob_bfloat_vec;
|
||||
|
||||
(bfloat16_t) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(bfloat16_t) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
(short) glob_bfloat_vec; /* { dg-error {cannot convert a vector of type 'bfloat16x8_t' to type 'short int' which has different size} } */
|
||||
(int) glob_bfloat_vec; /* { dg-error {cannot convert a vector of type 'bfloat16x8_t' to type 'int' which has different size} } */
|
||||
(float16_t) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(float) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(double) glob_bfloat_vec; /* { dg-error {aggregate value used where a floating-point was expected} } */
|
||||
(float16_t) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
(float) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
(double) glob_bfloat_vec; /* { dg-error {vector value used where a floating-point was expected} } */
|
||||
|
||||
(int32x4_t) glob_bfloat_vec;
|
||||
(float32x4_t) glob_bfloat_vec;
|
||||
|
|
Loading…
Add table
Reference in a new issue