From bf36afbc8f680205f04f75f308b994cff75fd54d Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 14 Feb 2019 22:54:36 +0100 Subject: [PATCH] ssse3-pabsb.c: Re-enable 64-bit form on AVX targets. * gcc.target/i386/ssse3-pabsb.c: Re-enable 64-bit form on AVX targets. * gcc.target/i386/ssse3-pabsd.c: Ditto. * gcc.target/i386/ssse3-pabsw.c: Ditto. * gcc.target/i386/ssse3-palignr.c: Ditto. * gcc.target/i386/ssse3-phaddd.c: Ditto. * gcc.target/i386/ssse3-phaddsw.c: Ditto. * gcc.target/i386/ssse3-phaddw.c: Ditto. * gcc.target/i386/ssse3-phsubd.c: Ditto. * gcc.target/i386/ssse3-phsubsw.c: Ditto. * gcc.target/i386/ssse3-phsubw.c: Ditto. * gcc.target/i386/ssse3-pmaddubsw.c: Ditto. * gcc.target/i386/ssse3-pmulhrsw.c: Ditto. * gcc.target/i386/ssse3-pshufb.c: Ditto. * gcc.target/i386/ssse3-psignb.c: Ditto. * gcc.target/i386/ssse3-psignd.c: Ditto. * gcc.target/i386/ssse3-psignw.c: Ditto. From-SVN: r268907 --- gcc/testsuite/ChangeLog | 19 +++++++++++++++++++ gcc/testsuite/gcc.target/i386/ssse3-pabsb.c | 4 ---- gcc/testsuite/gcc.target/i386/ssse3-pabsd.c | 4 ---- gcc/testsuite/gcc.target/i386/ssse3-pabsw.c | 4 ---- gcc/testsuite/gcc.target/i386/ssse3-palignr.c | 6 ------ gcc/testsuite/gcc.target/i386/ssse3-phaddd.c | 4 ---- gcc/testsuite/gcc.target/i386/ssse3-phaddsw.c | 4 ---- gcc/testsuite/gcc.target/i386/ssse3-phaddw.c | 4 ---- gcc/testsuite/gcc.target/i386/ssse3-phsubd.c | 4 ---- gcc/testsuite/gcc.target/i386/ssse3-phsubsw.c | 4 ---- gcc/testsuite/gcc.target/i386/ssse3-phsubw.c | 4 ---- .../gcc.target/i386/ssse3-pmaddubsw.c | 4 ---- .../gcc.target/i386/ssse3-pmulhrsw.c | 4 ---- gcc/testsuite/gcc.target/i386/ssse3-pshufb.c | 6 ------ gcc/testsuite/gcc.target/i386/ssse3-psignb.c | 4 ---- gcc/testsuite/gcc.target/i386/ssse3-psignd.c | 4 ---- gcc/testsuite/gcc.target/i386/ssse3-psignw.c | 4 ---- 17 files changed, 19 insertions(+), 68 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7b6ad84eb99..ae430692a12 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,22 @@ +2019-02-14 Uroš Bizjak + + * gcc.target/i386/ssse3-pabsb.c: Re-enable 64-bit form on AVX targets. + * gcc.target/i386/ssse3-pabsd.c: Ditto. + * gcc.target/i386/ssse3-pabsw.c: Ditto. + * gcc.target/i386/ssse3-palignr.c: Ditto. + * gcc.target/i386/ssse3-phaddd.c: Ditto. + * gcc.target/i386/ssse3-phaddsw.c: Ditto. + * gcc.target/i386/ssse3-phaddw.c: Ditto. + * gcc.target/i386/ssse3-phsubd.c: Ditto. + * gcc.target/i386/ssse3-phsubsw.c: Ditto. + * gcc.target/i386/ssse3-phsubw.c: Ditto. + * gcc.target/i386/ssse3-pmaddubsw.c: Ditto. + * gcc.target/i386/ssse3-pmulhrsw.c: Ditto. + * gcc.target/i386/ssse3-pshufb.c: Ditto. + * gcc.target/i386/ssse3-psignb.c: Ditto. + * gcc.target/i386/ssse3-psignd.c: Ditto. + * gcc.target/i386/ssse3-psignw.c: Ditto. + 2018-02-14 Steve Ellcey * gcc.target/aarch64/pcs_attribute.c: New test. diff --git a/gcc/testsuite/gcc.target/i386/ssse3-pabsb.c b/gcc/testsuite/gcc.target/i386/ssse3-pabsb.c index 7caa1b6c3a6..a794224f7f2 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-pabsb.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-pabsb.c @@ -15,7 +15,6 @@ #include "ssse3-vals.h" #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_pabsb (int *i1, int *r) @@ -24,7 +23,6 @@ ssse3_test_pabsb (int *i1, int *r) *(__m64 *) r = _mm_abs_pi8 (t1); _mm_empty (); } -#endif /* Test the 128-bit form */ static void @@ -63,12 +61,10 @@ TEST (void) /* Manually compute the result */ compute_correct_result(&vals[i + 0], ck); -#ifndef __AVX__ /* Run the 64-bit tests */ ssse3_test_pabsb (&vals[i + 0], &r[0]); ssse3_test_pabsb (&vals[i + 2], &r[2]); fail += chk_128 (ck, r); -#endif /* Run the 128-bit tests */ ssse3_test_pabsb128 (&vals[i + 0], r); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-pabsd.c b/gcc/testsuite/gcc.target/i386/ssse3-pabsd.c index 3a73cf01170..a0db229c760 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-pabsd.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-pabsd.c @@ -16,7 +16,6 @@ #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_pabsd (int *i1, int *r) @@ -25,7 +24,6 @@ ssse3_test_pabsd (int *i1, int *r) *(__m64 *) r = _mm_abs_pi32 (t1); _mm_empty (); } -#endif /* Test the 128-bit form */ static void @@ -62,12 +60,10 @@ TEST (void) /* Manually compute the result */ compute_correct_result(&vals[i + 0], ck); -#ifndef __AVX__ /* Run the 64-bit tests */ ssse3_test_pabsd (&vals[i + 0], &r[0]); ssse3_test_pabsd (&vals[i + 2], &r[2]); fail += chk_128 (ck, r); -#endif /* Run the 128-bit tests */ ssse3_test_pabsd128 (&vals[i + 0], r); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-pabsw.c b/gcc/testsuite/gcc.target/i386/ssse3-pabsw.c index 67e4721b8e6..66f1e5f8f25 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-pabsw.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-pabsw.c @@ -16,7 +16,6 @@ #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_pabsw (int *i1, int *r) @@ -25,7 +24,6 @@ ssse3_test_pabsw (int *i1, int *r) *(__m64 *) r = _mm_abs_pi16 (t1); _mm_empty (); } -#endif /* Test the 128-bit form */ static void @@ -64,12 +62,10 @@ TEST (void) /* Manually compute the result */ compute_correct_result (&vals[i + 0], ck); -#ifndef __AVX__ /* Run the 64-bit tests */ ssse3_test_pabsw (&vals[i + 0], &r[0]); ssse3_test_pabsw (&vals[i + 2], &r[2]); fail += chk_128 (ck, r); -#endif /* Run the 128-bit tests */ ssse3_test_pabsw128 (&vals[i + 0], r); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-palignr.c b/gcc/testsuite/gcc.target/i386/ssse3-palignr.c index dbee9bee4aa..6079f50aeb3 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-palignr.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-palignr.c @@ -17,7 +17,6 @@ #include #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_palignr (int *i1, int *i2, unsigned int imm, int *r) @@ -82,7 +81,6 @@ ssse3_test_palignr (int *i1, int *i2, unsigned int imm, int *r) _mm_empty(); } -#endif /* Test the 128-bit form */ static void @@ -214,7 +212,6 @@ compute_correct_result_128 (int *i1, int *i2, unsigned int imm, int *r) bout[i] = buf[imm + i]; } -#ifndef __AVX__ static void compute_correct_result_64 (int *i1, int *i2, unsigned int imm, int *r) { @@ -242,7 +239,6 @@ compute_correct_result_64 (int *i1, int *i2, unsigned int imm, int *r) else bout[i + 8] = buf[imm + i]; } -#endif static void TEST (void) @@ -256,7 +252,6 @@ TEST (void) for (i = 0; i < 256; i += 8) for (imm = 0; imm < 100; imm++) { -#ifndef __AVX__ /* Manually compute the result */ compute_correct_result_64 (&vals[i + 0], &vals[i + 4], imm, ck); @@ -264,7 +259,6 @@ TEST (void) ssse3_test_palignr (&vals[i + 0], &vals[i + 4], imm, &r[0]); ssse3_test_palignr (&vals[i + 2], &vals[i + 6], imm, &r[2]); fail += chk_128 (ck, r); -#endif /* Recompute the results for 128-bits */ compute_correct_result_128 (&vals[i + 0], &vals[i + 4], imm, ck); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-phaddd.c b/gcc/testsuite/gcc.target/i386/ssse3-phaddd.c index bef78168659..143a8854857 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-phaddd.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-phaddd.c @@ -16,7 +16,6 @@ #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_phaddd (int *i1, int *i2, int *r) @@ -26,7 +25,6 @@ ssse3_test_phaddd (int *i1, int *i2, int *r) *(__m64 *) r = _mm_hadd_pi32 (t1, t2); _mm_empty(); } -#endif /* Test the 128-bit form */ static void @@ -64,12 +62,10 @@ TEST (void) /* Manually compute the result */ compute_correct_result (&vals[i + 0], &vals[i + 4], ck); -#ifndef __AVX__ /* Run the 64-bit tests */ ssse3_test_phaddd (&vals[i + 0], &vals[i + 2], &r[0]); ssse3_test_phaddd (&vals[i + 4], &vals[i + 6], &r[2]); fail += chk_128 (ck, r); -#endif /* Run the 128-bit tests */ ssse3_test_phaddd128 (&vals[i + 0], &vals[i + 4], r); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-phaddsw.c b/gcc/testsuite/gcc.target/i386/ssse3-phaddsw.c index ff31fe5a5fe..a4fb8afe2e6 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-phaddsw.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-phaddsw.c @@ -16,7 +16,6 @@ #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_phaddsw (int *i1, int *i2, int *r) @@ -26,7 +25,6 @@ ssse3_test_phaddsw (int *i1, int *i2, int *r) *(__m64 *) r = _mm_hadds_pi16 (t1, t2); _mm_empty (); } -#endif /* Test the 128-bit form */ static void @@ -78,12 +76,10 @@ TEST (void) /* Manually compute the result */ compute_correct_result (&vals[i + 0], &vals[i + 4], ck); -#ifndef __AVX__ /* Run the 64-bit tests */ ssse3_test_phaddsw (&vals[i + 0], &vals[i + 2], &r[0]); ssse3_test_phaddsw (&vals[i + 4], &vals[i + 6], &r[2]); fail += chk_128 (ck, r); -#endif /* Run the 128-bit tests */ ssse3_test_phaddsw128 (&vals[i + 0], &vals[i + 4], r); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-phaddw.c b/gcc/testsuite/gcc.target/i386/ssse3-phaddw.c index 05c0afd4f69..934aa5a274c 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-phaddw.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-phaddw.c @@ -16,7 +16,6 @@ #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_phaddw (int *i1, int *i2, int *r) @@ -26,7 +25,6 @@ ssse3_test_phaddw (int *i1, int *i2, int *r) *(__m64 *) r = _mm_hadd_pi16 (t1, t2); _mm_empty (); } -#endif /* Test the 128-bit form */ static void @@ -67,12 +65,10 @@ TEST (void) /* Manually compute the result */ compute_correct_result (&vals[i + 0], &vals[i + 4], ck); -#ifndef __AVX__ /* Run the 64-bit tests */ ssse3_test_phaddw (&vals[i + 0], &vals[i + 2], &r[0]); ssse3_test_phaddw (&vals[i + 4], &vals[i + 6], &r[2]); fail += chk_128 (ck, r); -#endif /* Run the 128-bit tests */ ssse3_test_phaddw128 (&vals[i + 0], &vals[i + 4], r); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-phsubd.c b/gcc/testsuite/gcc.target/i386/ssse3-phsubd.c index 5884e5c12fe..f0a5b411e26 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-phsubd.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-phsubd.c @@ -16,7 +16,6 @@ #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_phsubd (int *i1, int *i2, int *r) @@ -26,7 +25,6 @@ ssse3_test_phsubd (int *i1, int *i2, int *r) *(__m64 *) r = _mm_hsub_pi32(t1, t2); _mm_empty (); } -#endif /* Test the 128-bit form */ static void @@ -63,12 +61,10 @@ TEST (void) /* Manually compute the result */ compute_correct_result (&vals[i + 0], &vals[i + 4], ck); -#ifndef __AVX__ /* Run the 64-bit tests */ ssse3_test_phsubd (&vals[i + 0], &vals[i + 2], &r[0]); ssse3_test_phsubd (&vals[i + 4], &vals[i + 6], &r[2]); fail += chk_128 (ck, r); -#endif /* Run the 128-bit tests */ ssse3_test_phsubd128 (&vals[i + 0], &vals[i + 4], r); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-phsubsw.c b/gcc/testsuite/gcc.target/i386/ssse3-phsubsw.c index 371c8d112d1..ce93e641d39 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-phsubsw.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-phsubsw.c @@ -16,7 +16,6 @@ #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_phsubsw (int *i1, int *i2, int *r) @@ -28,7 +27,6 @@ ssse3_test_phsubsw (int *i1, int *i2, int *r) _mm_empty (); } -#endif /* Test the 128-bit form */ static void @@ -81,12 +79,10 @@ TEST (void) /* Manually compute the result */ compute_correct_result (&vals[i + 0], &vals[i + 4], ck); -#ifndef __AVX__ /* Run the 64-bit tests */ ssse3_test_phsubsw (&vals[i + 0], &vals[i + 2], &r[0]); ssse3_test_phsubsw (&vals[i + 4], &vals[i + 6], &r[2]); fail += chk_128 (ck, r); -#endif /* Run the 128-bit tests */ ssse3_test_phsubsw128 (&vals[i + 0], &vals[i + 4], r); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-phsubw.c b/gcc/testsuite/gcc.target/i386/ssse3-phsubw.c index f3dbf9c9896..9353e47f4c7 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-phsubw.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-phsubw.c @@ -15,7 +15,6 @@ #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_phsubw (int *i1, int *i2, int *r) @@ -25,7 +24,6 @@ ssse3_test_phsubw (int *i1, int *i2, int *r) *(__m64 *) r = _mm_hsub_pi16 (t1, t2); _mm_empty (); } -#endif /* Test the 128-bit form */ static void @@ -66,12 +64,10 @@ TEST (void) /* Manually compute the result */ compute_correct_result (&vals[i + 0], &vals[i + 4], ck); -#ifndef __AVX__ /* Run the 64-bit tests */ ssse3_test_phsubw (&vals[i + 0], &vals[i + 2], &r[0]); ssse3_test_phsubw (&vals[i + 4], &vals[i + 6], &r[2]); fail += chk_128 (ck, r); -#endif /* Run the 128-bit tests */ ssse3_test_phsubw128 (&vals[i + 0], &vals[i + 4], r); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-pmaddubsw.c b/gcc/testsuite/gcc.target/i386/ssse3-pmaddubsw.c index 00bfc844f42..7f3ca51d88b 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-pmaddubsw.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-pmaddubsw.c @@ -16,7 +16,6 @@ #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_pmaddubsw (int *i1, int *i2, int *r) @@ -26,7 +25,6 @@ ssse3_test_pmaddubsw (int *i1, int *i2, int *r) *(__m64 *) r = _mm_maddubs_pi16 (t1, t2); _mm_empty (); } -#endif /* Test the 128-bit form */ static void @@ -81,12 +79,10 @@ TEST (void) /* Manually compute the result */ compute_correct_result (&vals[i + 0], &vals[i + 4], ck); -#ifndef __AVX__ /* Run the 64-bit tests */ ssse3_test_pmaddubsw (&vals[i + 0], &vals[i + 4], &r[0]); ssse3_test_pmaddubsw (&vals[i + 2], &vals[i + 6], &r[2]); fail += chk_128 (ck, r); -#endif /* Run the 128-bit tests */ ssse3_test_pmaddubsw128 (&vals[i + 0], &vals[i + 4], r); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-pmulhrsw.c b/gcc/testsuite/gcc.target/i386/ssse3-pmulhrsw.c index 24570b3bd63..ce375d0a800 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-pmulhrsw.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-pmulhrsw.c @@ -16,7 +16,6 @@ #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_pmulhrsw (int *i1, int *i2, int *r) @@ -26,7 +25,6 @@ ssse3_test_pmulhrsw (int *i1, int *i2, int *r) *(__m64 *) r = _mm_mulhrs_pi16 (t1, t2); _mm_empty (); } -#endif /* Test the 128-bit form */ static void @@ -68,12 +66,10 @@ TEST (void) /* Manually compute the result */ compute_correct_result (&vals[i + 0], &vals[i + 4], ck); -#ifndef __AVX__ /* Run the 64-bit tests */ ssse3_test_pmulhrsw (&vals[i + 0], &vals[i + 4], &r[0]); ssse3_test_pmulhrsw (&vals[i + 2], &vals[i + 6], &r[2]); fail += chk_128 (ck, r); -#endif /* Run the 128-bit tests */ ssse3_test_pmulhrsw128 (&vals[i + 0], &vals[i + 4], r); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-pshufb.c b/gcc/testsuite/gcc.target/i386/ssse3-pshufb.c index b995456b61c..83deb581819 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-pshufb.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-pshufb.c @@ -16,7 +16,6 @@ #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_pshufb (int *i1, int *i2, int *r) @@ -26,7 +25,6 @@ ssse3_test_pshufb (int *i1, int *i2, int *r) *(__m64 *)r = _mm_shuffle_pi8 (t1, t2); _mm_empty (); } -#endif /* Test the 128-bit form */ static void @@ -38,7 +36,6 @@ ssse3_test_pshufb128 (int *i1, int *i2, int *r) *(__m128i *)r = _mm_shuffle_epi8 (t1, t2); } -#ifndef __AVX__ /* Routine to manually compute the results */ static void compute_correct_result_64 (int *i1, int *i2, int *r) @@ -60,7 +57,6 @@ compute_correct_result_64 (int *i1, int *i2, int *r) bout[i] = b1[8 + (select & 0x7)]; } } -#endif static void compute_correct_result_128 (int *i1, int *i2, int *r) @@ -91,7 +87,6 @@ TEST (void) for (i = 0; i < 256; i += 8) { -#ifndef __AVX__ /* Manually compute the result */ compute_correct_result_64 (&vals[i + 0], &vals[i + 4], ck); @@ -99,7 +94,6 @@ TEST (void) ssse3_test_pshufb (&vals[i + 0], &vals[i + 4], &r[0]); ssse3_test_pshufb (&vals[i + 2], &vals[i + 6], &r[2]); fail += chk_128 (ck, r); -#endif /* Recompute the result for 128-bits */ compute_correct_result_128 (&vals[i + 0], &vals[i + 4], ck); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-psignb.c b/gcc/testsuite/gcc.target/i386/ssse3-psignb.c index 7462929aa20..114419f42bc 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-psignb.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-psignb.c @@ -15,7 +15,6 @@ #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_psignb (int *i1, int *i2, int *r) @@ -25,7 +24,6 @@ ssse3_test_psignb (int *i1, int *i2, int *r) *(__m64 *) r = _mm_sign_pi8 (t1, t2); _mm_empty (); } -#endif /* Test the 128-bit form */ static void @@ -68,12 +66,10 @@ TEST (void) /* Manually compute the result */ compute_correct_result (&vals[i + 0], &vals[i + 4], ck); -#ifndef __AVX__ /* Run the 64-bit tests */ ssse3_test_psignb (&vals[i + 0], &vals[i + 4], &r[0]); ssse3_test_psignb (&vals[i + 2], &vals[i + 6], &r[2]); fail += chk_128 (ck, r); -#endif /* Run the 128-bit tests */ ssse3_test_psignb128 (&vals[i + 0], &vals[i + 4], r); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-psignd.c b/gcc/testsuite/gcc.target/i386/ssse3-psignd.c index eca0489f8d3..6b579944f10 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-psignd.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-psignd.c @@ -15,7 +15,6 @@ #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_psignd (int *i1, int *i2, int *r) @@ -25,7 +24,6 @@ ssse3_test_psignd (int *i1, int *i2, int *r) *(__m64 *) r = _mm_sign_pi32 (t1, t2); _mm_empty (); } -#endif /* Test the 128-bit form */ static void @@ -65,12 +63,10 @@ TEST (void) /* Manually compute the result */ compute_correct_result (&vals[i + 0], &vals[i + 4], ck); -#ifndef __AVX__ /* Run the 64-bit tests */ ssse3_test_psignd (&vals[i + 0], &vals[i + 4], &r[0]); ssse3_test_psignd (&vals[i + 2], &vals[i + 6], &r[2]); fail += chk_128 (ck, r); -#endif /* Run the 128-bit tests */ ssse3_test_psignd128 (&vals[i + 0], &vals[i + 4], r); diff --git a/gcc/testsuite/gcc.target/i386/ssse3-psignw.c b/gcc/testsuite/gcc.target/i386/ssse3-psignw.c index 00a506fd894..8641a367759 100644 --- a/gcc/testsuite/gcc.target/i386/ssse3-psignw.c +++ b/gcc/testsuite/gcc.target/i386/ssse3-psignw.c @@ -15,7 +15,6 @@ #include -#ifndef __AVX__ /* Test the 64-bit form */ static void ssse3_test_psignw (int *i1, int *i2, int *r) @@ -25,7 +24,6 @@ ssse3_test_psignw (int *i1, int *i2, int *r) *(__m64 *) r = _mm_sign_pi16 (t1, t2); _mm_empty (); } -#endif /* Test the 128-bit form */ static void @@ -68,12 +66,10 @@ TEST (void) /* Manually compute the result */ compute_correct_result (&vals[i + 0], &vals[i + 4], ck); -#ifndef __AVX__ /* Run the 64-bit tests */ ssse3_test_psignw (&vals[i + 0], &vals[i + 4], &r[0]); ssse3_test_psignw (&vals[i + 2], &vals[i + 6], &r[2]); fail += chk_128 (ck, r); -#endif /* Run the 128-bit tests */ ssse3_test_psignw128 (&vals[i + 0], &vals[i + 4], r); -- 2.30.2