diff options
author | Pan Li <pan2.li@intel.com> | 2024-08-20 21:08:23 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2024-08-21 07:48:41 +0800 |
commit | 1b72e07696a062e628c35e4bd25926c11ac18297 (patch) | |
tree | 0c370ea192dc6891868db9b38f595650a6bf82e1 | |
parent | e668771ff0dcc3c72937768e5c37b6f287b97799 (diff) | |
download | gcc-1b72e07696a062e628c35e4bd25926c11ac18297.zip gcc-1b72e07696a062e628c35e4bd25926c11ac18297.tar.gz gcc-1b72e07696a062e628c35e4bd25926c11ac18297.tar.bz2 |
RISC-V: Fix one typo in .SAT_TRUNC test func name [NFC]
Fix one typo `sat_truc` to `sat_trunc`, as well as `SAT_TRUC` to `SAT_TRUNC`.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/sat_arith.h: Fix SAT_TRUNC typo.
* gcc.target/riscv/sat_u_trunc-1.c: Ditto.
* gcc.target/riscv/sat_u_trunc-13.c: Ditto.
* gcc.target/riscv/sat_u_trunc-14.c: Ditto.
* gcc.target/riscv/sat_u_trunc-15.c: Ditto.
* gcc.target/riscv/sat_u_trunc-2.c: Ditto.
* gcc.target/riscv/sat_u_trunc-3.c: Ditto.
* gcc.target/riscv/sat_u_trunc-4.c: Ditto.
* gcc.target/riscv/sat_u_trunc-5.c: Ditto.
* gcc.target/riscv/sat_u_trunc-6.c: Ditto.
* gcc.target/riscv/sat_u_trunc-7.c: Ditto.
* gcc.target/riscv/sat_u_trunc-8.c: Ditto.
* gcc.target/riscv/sat_u_trunc-9.c: Ditto.
* gcc.target/riscv/sat_u_trunc-run-1.c: Ditto.
* gcc.target/riscv/sat_u_trunc-run-13.c: Ditto.
* gcc.target/riscv/sat_u_trunc-run-14.c: Ditto.
* gcc.target/riscv/sat_u_trunc-run-15.c: Ditto.
* gcc.target/riscv/sat_u_trunc-run-2.c: Ditto.
* gcc.target/riscv/sat_u_trunc-run-3.c: Ditto.
* gcc.target/riscv/sat_u_trunc-run-4.c: Ditto.
* gcc.target/riscv/sat_u_trunc-run-5.c: Ditto.
* gcc.target/riscv/sat_u_trunc-run-6.c: Ditto.
* gcc.target/riscv/sat_u_trunc-run-7.c: Ditto.
* gcc.target/riscv/sat_u_trunc-run-8.c: Ditto.
* gcc.target/riscv/sat_u_trunc-run-9.c: Ditto.
Signed-off-by: Pan Li <pan2.li@intel.com>
25 files changed, 63 insertions, 63 deletions
diff --git a/gcc/testsuite/gcc.target/riscv/sat_arith.h b/gcc/testsuite/gcc.target/riscv/sat_arith.h index cf05541..91853b6 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_arith.h +++ b/gcc/testsuite/gcc.target/riscv/sat_arith.h @@ -218,40 +218,40 @@ sat_u_sub_##T##_fmt_12 (T x, T y) \ /* Saturation Truncate (unsigned and signed) */ /******************************************************************************/ -#define DEF_SAT_U_TRUC_FMT_1(NT, WT) \ +#define DEF_SAT_U_TRUNC_FMT_1(NT, WT) \ NT __attribute__((noinline)) \ -sat_u_truc_##WT##_to_##NT##_fmt_1 (WT x) \ +sat_u_trunc_##WT##_to_##NT##_fmt_1 (WT x) \ { \ bool overflow = x > (WT)(NT)(-1); \ return ((NT)x) | (NT)-overflow; \ } -#define DEF_SAT_U_TRUC_FMT_1_WRAP(NT, WT) DEF_SAT_U_TRUC_FMT_1(NT, WT) +#define DEF_SAT_U_TRUNC_FMT_1_WRAP(NT, WT) DEF_SAT_U_TRUNC_FMT_1(NT, WT) -#define DEF_SAT_U_TRUC_FMT_2(NT, WT) \ +#define DEF_SAT_U_TRUNC_FMT_2(NT, WT) \ NT __attribute__((noinline)) \ -sat_u_truc_##WT##_to_##NT##_fmt_2 (WT x) \ +sat_u_trunc_##WT##_to_##NT##_fmt_2 (WT x) \ { \ WT max = (WT)(NT)-1; \ return x > max ? (NT) max : (NT)x; \ } -#define DEF_SAT_U_TRUC_FMT_2_WRAP(NT, WT) DEF_SAT_U_TRUC_FMT_2(NT, WT) +#define DEF_SAT_U_TRUNC_FMT_2_WRAP(NT, WT) DEF_SAT_U_TRUNC_FMT_2(NT, WT) -#define DEF_SAT_U_TRUC_FMT_3(NT, WT) \ +#define DEF_SAT_U_TRUNC_FMT_3(NT, WT) \ NT __attribute__((noinline)) \ -sat_u_truc_##WT##_to_##NT##_fmt_3 (WT x) \ +sat_u_trunc_##WT##_to_##NT##_fmt_3 (WT x) \ { \ WT max = (WT)(NT)-1; \ return x <= max ? (NT)x : (NT) max; \ } -#define DEF_SAT_U_TRUC_FMT_3_WRAP(NT, WT) DEF_SAT_U_TRUC_FMT_3(NT, WT) +#define DEF_SAT_U_TRUNC_FMT_3_WRAP(NT, WT) DEF_SAT_U_TRUNC_FMT_3(NT, WT) -#define RUN_SAT_U_TRUC_FMT_1(NT, WT, x) sat_u_truc_##WT##_to_##NT##_fmt_1 (x) -#define RUN_SAT_U_TRUC_FMT_1_WRAP(NT, WT, x) RUN_SAT_U_TRUC_FMT_1(NT, WT, x) +#define RUN_SAT_U_TRUNC_FMT_1(NT, WT, x) sat_u_trunc_##WT##_to_##NT##_fmt_1 (x) +#define RUN_SAT_U_TRUNC_FMT_1_WRAP(NT, WT, x) RUN_SAT_U_TRUNC_FMT_1(NT, WT, x) -#define RUN_SAT_U_TRUC_FMT_2(NT, WT, x) sat_u_truc_##WT##_to_##NT##_fmt_2 (x) -#define RUN_SAT_U_TRUC_FMT_2_WRAP(NT, WT, x) RUN_SAT_U_TRUC_FMT_2(NT, WT, x) +#define RUN_SAT_U_TRUNC_FMT_2(NT, WT, x) sat_u_trunc_##WT##_to_##NT##_fmt_2 (x) +#define RUN_SAT_U_TRUNC_FMT_2_WRAP(NT, WT, x) RUN_SAT_U_TRUNC_FMT_2(NT, WT, x) -#define RUN_SAT_U_TRUC_FMT_3(NT, WT, x) sat_u_truc_##WT##_to_##NT##_fmt_3 (x) -#define RUN_SAT_U_TRUC_FMT_3_WRAP(NT, WT, x) RUN_SAT_U_TRUC_FMT_3(NT, WT, x) +#define RUN_SAT_U_TRUNC_FMT_3(NT, WT, x) sat_u_trunc_##WT##_to_##NT##_fmt_3 (x) +#define RUN_SAT_U_TRUNC_FMT_3_WRAP(NT, WT, x) RUN_SAT_U_TRUNC_FMT_3(NT, WT, x) #endif diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-1.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-1.c index 3548310..8483607 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-1.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-1.c @@ -5,13 +5,13 @@ #include "sat_arith.h" /* -** sat_u_truc_uint16_t_to_uint8_t_fmt_1: +** sat_u_trunc_uint16_t_to_uint8_t_fmt_1: ** sltiu\s+[atx][0-9]+,\s*a0,\s*255 ** addi\s+[atx][0-9]+,\s*[atx][0-9]+,\s*-1 ** or\s+[atx][0-9]+,\s*[atx][0-9]+,\s*[atx][0-9]+ ** andi\s+[atx][0-9]+,\s*[atx][0-9]+,\s*0xff ** ret */ -DEF_SAT_U_TRUC_FMT_1(uint8_t, uint16_t) +DEF_SAT_U_TRUNC_FMT_1(uint8_t, uint16_t) /* { dg-final { scan-rtl-dump-times ".SAT_TRUNC " 2 "expand" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-13.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-13.c index 5891079..060350a 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-13.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-13.c @@ -5,13 +5,13 @@ #include "sat_arith.h" /* -** sat_u_truc_uint16_t_to_uint8_t_fmt_3: +** sat_u_trunc_uint16_t_to_uint8_t_fmt_3: ** sltiu\s+[atx][0-9]+,\s*a0,\s*255 ** addi\s+[atx][0-9]+,\s*[atx][0-9]+,\s*-1 ** or\s+[atx][0-9]+,\s*[atx][0-9]+,\s*[atx][0-9]+ ** andi\s+[atx][0-9]+,\s*[atx][0-9]+,\s*0xff ** ret */ -DEF_SAT_U_TRUC_FMT_3(uint8_t, uint16_t) +DEF_SAT_U_TRUNC_FMT_3(uint8_t, uint16_t) /* { dg-final { scan-rtl-dump-times ".SAT_TRUNC " 2 "expand" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-14.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-14.c index 236ea1d..a21c40c 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-14.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-14.c @@ -5,7 +5,7 @@ #include "sat_arith.h" /* -** sat_u_truc_uint32_t_to_uint16_t_fmt_3: +** sat_u_trunc_uint32_t_to_uint16_t_fmt_3: ** li\s+[atx][0-9]+,\s*65536 ** addi\s+[atx][0-9]+,\s*[atx][0-9]+,\s*-1 ** sltu\s+[atx][0-9]+,\s*a0,\s*[atx][0-9]+ @@ -15,6 +15,6 @@ ** srli\s+a0,\s*a0,\s*48 ** ret */ -DEF_SAT_U_TRUC_FMT_3(uint16_t, uint32_t) +DEF_SAT_U_TRUNC_FMT_3(uint16_t, uint32_t) /* { dg-final { scan-rtl-dump-times ".SAT_TRUNC " 2 "expand" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-15.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-15.c index 33c3686..229371f 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-15.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-15.c @@ -5,7 +5,7 @@ #include "sat_arith.h" /* -** sat_u_truc_uint64_t_to_uint32_t_fmt_3: +** sat_u_trunc_uint64_t_to_uint32_t_fmt_3: ** li\s+[atx][0-9]+,\s*-1 ** srli\s+[atx][0-9]+,\s*[atx][0-9]+,\s*32 ** sltu\s+[atx][0-9]+,\s*a0,\s*[atx][0-9]+ @@ -14,6 +14,6 @@ ** sext.w\s+a0,\s*a0 ** ret */ -DEF_SAT_U_TRUC_FMT_3(uint32_t, uint64_t) +DEF_SAT_U_TRUNC_FMT_3(uint32_t, uint64_t) /* { dg-final { scan-rtl-dump-times ".SAT_TRUNC " 2 "expand" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-2.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-2.c index 0001d8a..68d4e56 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-2.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-2.c @@ -5,7 +5,7 @@ #include "sat_arith.h" /* -** sat_u_truc_uint32_t_to_uint16_t_fmt_1: +** sat_u_trunc_uint32_t_to_uint16_t_fmt_1: ** li\s+[atx][0-9]+,\s*65536 ** addi\s+[atx][0-9]+,\s*[atx][0-9]+,\s*-1 ** sltu\s+[atx][0-9]+,\s*a0,\s*[atx][0-9]+ @@ -15,6 +15,6 @@ ** srli\s+a0,\s*a0,\s*48 ** ret */ -DEF_SAT_U_TRUC_FMT_1(uint16_t, uint32_t) +DEF_SAT_U_TRUNC_FMT_1(uint16_t, uint32_t) /* { dg-final { scan-rtl-dump-times ".SAT_TRUNC " 2 "expand" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-3.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-3.c index 4359935..a77f4d3 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-3.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-3.c @@ -5,7 +5,7 @@ #include "sat_arith.h" /* -** sat_u_truc_uint64_t_to_uint32_t_fmt_1: +** sat_u_trunc_uint64_t_to_uint32_t_fmt_1: ** li\s+[atx][0-9]+,\s*-1 ** srli\s+[atx][0-9]+,\s*[atx][0-9]+,\s*32 ** sltu\s+[atx][0-9]+,\s*a0,\s*[atx][0-9]+ @@ -14,6 +14,6 @@ ** sext.w\s+a0,\s*a0 ** ret */ -DEF_SAT_U_TRUC_FMT_1(uint32_t, uint64_t) +DEF_SAT_U_TRUNC_FMT_1(uint32_t, uint64_t) /* { dg-final { scan-rtl-dump-times ".SAT_TRUNC " 2 "expand" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-4.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-4.c index 7d84b26..f16af46 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-4.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-4.c @@ -5,13 +5,13 @@ #include "sat_arith.h" /* -** sat_u_truc_uint32_t_to_uint8_t_fmt_1: +** sat_u_trunc_uint32_t_to_uint8_t_fmt_1: ** sltiu\s+[atx][0-9]+,\s*a0,\s*255 ** addi\s+[atx][0-9]+,\s*[atx][0-9]+,\s*-1 ** or\s+[atx][0-9]+,\s*[atx][0-9]+,\s*[atx][0-9]+ ** andi\s+[atx][0-9]+,\s*[atx][0-9]+,\s*0xff ** ret */ -DEF_SAT_U_TRUC_FMT_1(uint8_t, uint32_t) +DEF_SAT_U_TRUNC_FMT_1(uint8_t, uint32_t) /* { dg-final { scan-rtl-dump-times ".SAT_TRUNC " 2 "expand" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-5.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-5.c index 87e6c64..f54be149 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-5.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-5.c @@ -5,13 +5,13 @@ #include "sat_arith.h" /* -** sat_u_truc_uint64_t_to_uint8_t_fmt_1: +** sat_u_trunc_uint64_t_to_uint8_t_fmt_1: ** sltiu\s+[atx][0-9]+,\s*a0,\s*255 ** addi\s+[atx][0-9]+,\s*[atx][0-9]+,\s*-1 ** or\s+[atx][0-9]+,\s*[atx][0-9]+,\s*[atx][0-9]+ ** andi\s+[atx][0-9]+,\s*[atx][0-9]+,\s*0xff ** ret */ -DEF_SAT_U_TRUC_FMT_1(uint8_t, uint64_t) +DEF_SAT_U_TRUNC_FMT_1(uint8_t, uint64_t) /* { dg-final { scan-rtl-dump-times ".SAT_TRUNC " 2 "expand" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-6.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-6.c index af41091..04d55b6 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-6.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-6.c @@ -5,7 +5,7 @@ #include "sat_arith.h" /* -** sat_u_truc_uint64_t_to_uint16_t_fmt_1: +** sat_u_trunc_uint64_t_to_uint16_t_fmt_1: ** li\s+[atx][0-9]+,\s*65536 ** addi\s+[atx][0-9]+,\s*[atx][0-9]+,\s*-1 ** sltu\s+[atx][0-9]+,\s*a0,\s*[atx][0-9]+ @@ -15,6 +15,6 @@ ** srli\s+a0,\s*a0,\s*48 ** ret */ -DEF_SAT_U_TRUC_FMT_1(uint16_t, uint64_t) +DEF_SAT_U_TRUNC_FMT_1(uint16_t, uint64_t) /* { dg-final { scan-rtl-dump-times ".SAT_TRUNC " 2 "expand" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-7.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-7.c index 95d513a..5ecd6a8 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-7.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-7.c @@ -5,13 +5,13 @@ #include "sat_arith.h" /* -** sat_u_truc_uint16_t_to_uint8_t_fmt_2: +** sat_u_trunc_uint16_t_to_uint8_t_fmt_2: ** sltiu\s+[atx][0-9]+,\s*a0,\s*255 ** addi\s+[atx][0-9]+,\s*[atx][0-9]+,\s*-1 ** or\s+[atx][0-9]+,\s*[atx][0-9]+,\s*[atx][0-9]+ ** andi\s+[atx][0-9]+,\s*[atx][0-9]+,\s*0xff ** ret */ -DEF_SAT_U_TRUC_FMT_2(uint8_t, uint16_t) +DEF_SAT_U_TRUNC_FMT_2(uint8_t, uint16_t) /* { dg-final { scan-rtl-dump-times ".SAT_TRUNC " 2 "expand" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-8.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-8.c index f168912..f88965f2 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-8.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-8.c @@ -5,7 +5,7 @@ #include "sat_arith.h" /* -** sat_u_truc_uint32_t_to_uint16_t_fmt_2: +** sat_u_trunc_uint32_t_to_uint16_t_fmt_2: ** li\s+[atx][0-9]+,\s*65536 ** addi\s+[atx][0-9]+,\s*[atx][0-9]+,\s*-1 ** sltu\s+[atx][0-9]+,\s*a0,\s*[atx][0-9]+ @@ -15,6 +15,6 @@ ** srli\s+a0,\s*a0,\s*48 ** ret */ -DEF_SAT_U_TRUC_FMT_2(uint16_t, uint32_t) +DEF_SAT_U_TRUNC_FMT_2(uint16_t, uint32_t) /* { dg-final { scan-rtl-dump-times ".SAT_TRUNC " 2 "expand" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-9.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-9.c index d82363d..a77efb1 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-9.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-9.c @@ -5,7 +5,7 @@ #include "sat_arith.h" /* -** sat_u_truc_uint64_t_to_uint32_t_fmt_2: +** sat_u_trunc_uint64_t_to_uint32_t_fmt_2: ** li\s+[atx][0-9]+,\s*-1 ** srli\s+[atx][0-9]+,\s*[atx][0-9]+,\s*32 ** sltu\s+[atx][0-9]+,\s*a0,\s*[atx][0-9]+ @@ -14,6 +14,6 @@ ** sext.w\s+a0,\s*a0 ** ret */ -DEF_SAT_U_TRUC_FMT_2(uint32_t, uint64_t) +DEF_SAT_U_TRUNC_FMT_2(uint32_t, uint64_t) /* { dg-final { scan-rtl-dump-times ".SAT_TRUNC " 2 "expand" } } */ diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-1.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-1.c index 39a5ce2..adaa421 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-1.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-1.c @@ -7,10 +7,10 @@ #define T1 uint8_t #define T2 uint16_t -DEF_SAT_U_TRUC_FMT_1_WRAP(T1, T2) +DEF_SAT_U_TRUNC_FMT_1_WRAP(T1, T2) #define DATA TEST_UNARY_DATA_WRAP(T1, T2) #define T TEST_UNARY_STRUCT_DECL(T1, T2) -#define RUN_UNARY(x) RUN_SAT_U_TRUC_FMT_1_WRAP(T1, T2, x) +#define RUN_UNARY(x) RUN_SAT_U_TRUNC_FMT_1_WRAP(T1, T2, x) #include "scalar_sat_unary.h" diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-13.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-13.c index 6322305..7011e50 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-13.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-13.c @@ -7,10 +7,10 @@ #define T1 uint8_t #define T2 uint16_t -DEF_SAT_U_TRUC_FMT_3_WRAP(T1, T2) +DEF_SAT_U_TRUNC_FMT_3_WRAP(T1, T2) #define DATA TEST_UNARY_DATA_WRAP(T1, T2) #define T TEST_UNARY_STRUCT_DECL(T1, T2) -#define RUN_UNARY(x) RUN_SAT_U_TRUC_FMT_3_WRAP(T1, T2, x) +#define RUN_UNARY(x) RUN_SAT_U_TRUNC_FMT_3_WRAP(T1, T2, x) #include "scalar_sat_unary.h" diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-14.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-14.c index a29e887..8952c06 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-14.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-14.c @@ -7,10 +7,10 @@ #define T1 uint16_t #define T2 uint32_t -DEF_SAT_U_TRUC_FMT_3_WRAP(T1, T2) +DEF_SAT_U_TRUNC_FMT_3_WRAP(T1, T2) #define DATA TEST_UNARY_DATA_WRAP(T1, T2) #define T TEST_UNARY_STRUCT_DECL(T1, T2) -#define RUN_UNARY(x) RUN_SAT_U_TRUC_FMT_3_WRAP(T1, T2, x) +#define RUN_UNARY(x) RUN_SAT_U_TRUNC_FMT_3_WRAP(T1, T2, x) #include "scalar_sat_unary.h" diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-15.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-15.c index a29e887..8952c06 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-15.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-15.c @@ -7,10 +7,10 @@ #define T1 uint16_t #define T2 uint32_t -DEF_SAT_U_TRUC_FMT_3_WRAP(T1, T2) +DEF_SAT_U_TRUNC_FMT_3_WRAP(T1, T2) #define DATA TEST_UNARY_DATA_WRAP(T1, T2) #define T TEST_UNARY_STRUCT_DECL(T1, T2) -#define RUN_UNARY(x) RUN_SAT_U_TRUC_FMT_3_WRAP(T1, T2, x) +#define RUN_UNARY(x) RUN_SAT_U_TRUNC_FMT_3_WRAP(T1, T2, x) #include "scalar_sat_unary.h" diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-2.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-2.c index b98114a..a5f43e9 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-2.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-2.c @@ -7,10 +7,10 @@ #define T1 uint16_t #define T2 uint32_t -DEF_SAT_U_TRUC_FMT_1_WRAP(T1, T2) +DEF_SAT_U_TRUNC_FMT_1_WRAP(T1, T2) #define DATA TEST_UNARY_DATA_WRAP(T1, T2) #define T TEST_UNARY_STRUCT_DECL(T1, T2) -#define RUN_UNARY(x) RUN_SAT_U_TRUC_FMT_1_WRAP(T1, T2, x) +#define RUN_UNARY(x) RUN_SAT_U_TRUNC_FMT_1_WRAP(T1, T2, x) #include "scalar_sat_unary.h" diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-3.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-3.c index 8a92a8c..a76ae08 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-3.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-3.c @@ -7,10 +7,10 @@ #define T1 uint32_t #define T2 uint64_t -DEF_SAT_U_TRUC_FMT_1_WRAP(T1, T2) +DEF_SAT_U_TRUNC_FMT_1_WRAP(T1, T2) #define DATA TEST_UNARY_DATA_WRAP(T1, T2) #define T TEST_UNARY_STRUCT_DECL(T1, T2) -#define RUN_UNARY(x) RUN_SAT_U_TRUC_FMT_1_WRAP(T1, T2, x) +#define RUN_UNARY(x) RUN_SAT_U_TRUNC_FMT_1_WRAP(T1, T2, x) #include "scalar_sat_unary.h" diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-4.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-4.c index 609f354..d05ea79 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-4.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-4.c @@ -7,10 +7,10 @@ #define T1 uint8_t #define T2 uint32_t -DEF_SAT_U_TRUC_FMT_1_WRAP(T1, T2) +DEF_SAT_U_TRUNC_FMT_1_WRAP(T1, T2) #define DATA TEST_UNARY_DATA_WRAP(T1, T2) #define T TEST_UNARY_STRUCT_DECL(T1, T2) -#define RUN_UNARY(x) RUN_SAT_U_TRUC_FMT_1_WRAP(T1, T2, x) +#define RUN_UNARY(x) RUN_SAT_U_TRUNC_FMT_1_WRAP(T1, T2, x) #include "scalar_sat_unary.h" diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-5.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-5.c index 8629b3e..4fbdc91 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-5.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-5.c @@ -7,10 +7,10 @@ #define T1 uint8_t #define T2 uint64_t -DEF_SAT_U_TRUC_FMT_1_WRAP(T1, T2) +DEF_SAT_U_TRUNC_FMT_1_WRAP(T1, T2) #define DATA TEST_UNARY_DATA_WRAP(T1, T2) #define T TEST_UNARY_STRUCT_DECL(T1, T2) -#define RUN_UNARY(x) RUN_SAT_U_TRUC_FMT_1_WRAP(T1, T2, x) +#define RUN_UNARY(x) RUN_SAT_U_TRUNC_FMT_1_WRAP(T1, T2, x) #include "scalar_sat_unary.h" diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-6.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-6.c index 6d25869..38fcba3 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-6.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-6.c @@ -7,10 +7,10 @@ #define T1 uint16_t #define T2 uint64_t -DEF_SAT_U_TRUC_FMT_1_WRAP(T1, T2) +DEF_SAT_U_TRUNC_FMT_1_WRAP(T1, T2) #define DATA TEST_UNARY_DATA_WRAP(T1, T2) #define T TEST_UNARY_STRUCT_DECL(T1, T2) -#define RUN_UNARY(x) RUN_SAT_U_TRUC_FMT_1_WRAP(T1, T2, x) +#define RUN_UNARY(x) RUN_SAT_U_TRUNC_FMT_1_WRAP(T1, T2, x) #include "scalar_sat_unary.h" diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-7.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-7.c index b98d40f..93705f9 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-7.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-7.c @@ -7,10 +7,10 @@ #define T1 uint8_t #define T2 uint16_t -DEF_SAT_U_TRUC_FMT_2_WRAP(T1, T2) +DEF_SAT_U_TRUNC_FMT_2_WRAP(T1, T2) #define DATA TEST_UNARY_DATA_WRAP(T1, T2) #define T TEST_UNARY_STRUCT_DECL(T1, T2) -#define RUN_UNARY(x) RUN_SAT_U_TRUC_FMT_2_WRAP(T1, T2, x) +#define RUN_UNARY(x) RUN_SAT_U_TRUNC_FMT_2_WRAP(T1, T2, x) #include "scalar_sat_unary.h" diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-8.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-8.c index 486585d..c116484 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-8.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-8.c @@ -7,10 +7,10 @@ #define T1 uint16_t #define T2 uint32_t -DEF_SAT_U_TRUC_FMT_2_WRAP(T1, T2) +DEF_SAT_U_TRUNC_FMT_2_WRAP(T1, T2) #define DATA TEST_UNARY_DATA_WRAP(T1, T2) #define T TEST_UNARY_STRUCT_DECL(T1, T2) -#define RUN_UNARY(x) RUN_SAT_U_TRUC_FMT_2_WRAP(T1, T2, x) +#define RUN_UNARY(x) RUN_SAT_U_TRUNC_FMT_2_WRAP(T1, T2, x) #include "scalar_sat_unary.h" diff --git a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-9.c b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-9.c index 2099304..4142e87 100644 --- a/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-9.c +++ b/gcc/testsuite/gcc.target/riscv/sat_u_trunc-run-9.c @@ -7,10 +7,10 @@ #define T1 uint32_t #define T2 uint64_t -DEF_SAT_U_TRUC_FMT_2_WRAP(T1, T2) +DEF_SAT_U_TRUNC_FMT_2_WRAP(T1, T2) #define DATA TEST_UNARY_DATA_WRAP(T1, T2) #define T TEST_UNARY_STRUCT_DECL(T1, T2) -#define RUN_UNARY(x) RUN_SAT_U_TRUC_FMT_2_WRAP(T1, T2, x) +#define RUN_UNARY(x) RUN_SAT_U_TRUNC_FMT_2_WRAP(T1, T2, x) #include "scalar_sat_unary.h" |