diff options
author | Bill Schmidt <wschmidt@linux.ibm.com> | 2018-10-26 19:21:21 +0000 |
---|---|---|
committer | William Schmidt <wschmidt@gcc.gnu.org> | 2018-10-26 19:21:21 +0000 |
commit | ffd0bbe152496a667d0854ccb68f36bf3e853205 (patch) | |
tree | 007ff89e0ac0daf0a480e1d00be2d75a212f26ea /gcc/testsuite | |
parent | f5c2ba6d689cf6735cc9dfabaaa76fb68662b57f (diff) | |
download | gcc-ffd0bbe152496a667d0854ccb68f36bf3e853205.zip gcc-ffd0bbe152496a667d0854ccb68f36bf3e853205.tar.gz gcc-ffd0bbe152496a667d0854ccb68f36bf3e853205.tar.bz2 |
sse-addss-1.c: Call abort under DEBUG also; formatting cleanup.
2018-10-26 Bill Schmidt <wschmidt@linux.ibm.com>
Jinsong Ji <jji@us.ibm.com>
* gcc.target/powerpc/sse-addss-1.c: Call abort under DEBUG also;
formatting cleanup.
* gcc.target/powerpc/sse-pavgw-1.c: Likewise.
* gcc.target/powerpc/sse2-addsd-1.c: Likewise.
* gcc.target/powerpc/sse2-cvtdq2pd-1.c: Likewise.
* gcc.target/powerpc/sse2-cvtpd2dq-1.c: Likewise.
* gcc.target/powerpc/sse2-cvtpd2ps-1.c: Likewise.
* gcc.target/powerpc/sse2-cvtps2dq-1.c: Likewise.
* gcc.target/powerpc/sse2-cvtps2pd-1.c: Likewise.
* gcc.target/powerpc/sse2-cvtsd2si-1.c: Likewise.
* gcc.target/powerpc/sse2-cvtsd2si-2.c: Likewise.
* gcc.target/powerpc/sse2-cvtsd2ss-1.c: Likewise.
* gcc.target/powerpc/sse2-cvtss2sd-1.c: Likewise.
* gcc.target/powerpc/sse2-cvttpd2dq-1.c: Likewise.
* gcc.target/powerpc/sse2-cvttsd2si-1.c: Likewise.
* gcc.target/powerpc/sse2-divpd-1.c: Likewise.
* gcc.target/powerpc/sse2-divsd-1.c: Likewise.
* gcc.target/powerpc/sse2-maxsd-1.c: Likewise.
* gcc.target/powerpc/sse2-minsd-1.c: Likewise.
* gcc.target/powerpc/sse2-movmskpd-1.c: Likewise.
* gcc.target/powerpc/sse2-movq-1.c: Likewise.
* gcc.target/powerpc/sse2-movsd-3.c: Likewise.
* gcc.target/powerpc/sse2-mulpd-1.c: Likewise.
* gcc.target/powerpc/sse2-mulsd-1.c: Likewise.
* gcc.target/powerpc/sse2-packssdw-1.c: Likewise.
* gcc.target/powerpc/sse2-packsswb-1.c: Likewise.
* gcc.target/powerpc/sse2-packuswb-1.c: Likewise.
* gcc.target/powerpc/sse2-paddsb-1.c: Likewise.
* gcc.target/powerpc/sse2-paddsw-1.c: Likewise.
* gcc.target/powerpc/sse2-paddusb-1.c: Likewise.
* gcc.target/powerpc/sse2-pmovmskb-1.c: Likewise.
* gcc.target/powerpc/sse2-pmulhw-1.c: Likewise.
* gcc.target/powerpc/sse2-pmuludq1.c: Likewise.
* gcc.target/powerpc/sse2-psadbw-1.c: Likewise.
* gcc.target/powerpc/sse2-pshufd-1.c: Likewise.
* gcc.target/powerpc/sse2-pshufhw-1.c: Likewise.
* gcc.target/powerpc/sse2-pshuflw-1.c: Likewise.
* gcc.target/powerpc/sse2-pslld-2.c: Likewise.
* gcc.target/powerpc/sse2-pslldq-1.c: Likewise.
* gcc.target/powerpc/sse2-psrld-1.c: Likewise.
* gcc.target/powerpc/sse2-psrld-2.c: Likewise.
* gcc.target/powerpc/sse2-psrldq-1.c: Likewise.
* gcc.target/powerpc/sse2-psubusb-1.c: Likewise.
* gcc.target/powerpc/sse2-sqrtpd-1.c: Likewise.
* gcc.target/powerpc/sse2-subsd-1.c: Likewise.
Co-Authored-By: Jinsong Ji <jji@us.ibm.com>
From-SVN: r265545
Diffstat (limited to 'gcc/testsuite')
45 files changed, 292 insertions, 288 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 10b4f75..1d159e0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,52 @@ +2018-10-26 Bill Schmidt <wschmidt@linux.ibm.com> + Jinsong Ji <jji@us.ibm.com> + + * gcc.target/powerpc/sse-addss-1.c: Call abort under DEBUG also; + formatting cleanup. + * gcc.target/powerpc/sse-pavgw-1.c: Likewise. + * gcc.target/powerpc/sse2-addsd-1.c: Likewise. + * gcc.target/powerpc/sse2-cvtdq2pd-1.c: Likewise. + * gcc.target/powerpc/sse2-cvtpd2dq-1.c: Likewise. + * gcc.target/powerpc/sse2-cvtpd2ps-1.c: Likewise. + * gcc.target/powerpc/sse2-cvtps2dq-1.c: Likewise. + * gcc.target/powerpc/sse2-cvtps2pd-1.c: Likewise. + * gcc.target/powerpc/sse2-cvtsd2si-1.c: Likewise. + * gcc.target/powerpc/sse2-cvtsd2si-2.c: Likewise. + * gcc.target/powerpc/sse2-cvtsd2ss-1.c: Likewise. + * gcc.target/powerpc/sse2-cvtss2sd-1.c: Likewise. + * gcc.target/powerpc/sse2-cvttpd2dq-1.c: Likewise. + * gcc.target/powerpc/sse2-cvttsd2si-1.c: Likewise. + * gcc.target/powerpc/sse2-divpd-1.c: Likewise. + * gcc.target/powerpc/sse2-divsd-1.c: Likewise. + * gcc.target/powerpc/sse2-maxsd-1.c: Likewise. + * gcc.target/powerpc/sse2-minsd-1.c: Likewise. + * gcc.target/powerpc/sse2-movmskpd-1.c: Likewise. + * gcc.target/powerpc/sse2-movq-1.c: Likewise. + * gcc.target/powerpc/sse2-movsd-3.c: Likewise. + * gcc.target/powerpc/sse2-mulpd-1.c: Likewise. + * gcc.target/powerpc/sse2-mulsd-1.c: Likewise. + * gcc.target/powerpc/sse2-packssdw-1.c: Likewise. + * gcc.target/powerpc/sse2-packsswb-1.c: Likewise. + * gcc.target/powerpc/sse2-packuswb-1.c: Likewise. + * gcc.target/powerpc/sse2-paddsb-1.c: Likewise. + * gcc.target/powerpc/sse2-paddsw-1.c: Likewise. + * gcc.target/powerpc/sse2-paddusb-1.c: Likewise. + * gcc.target/powerpc/sse2-pmovmskb-1.c: Likewise. + * gcc.target/powerpc/sse2-pmulhw-1.c: Likewise. + * gcc.target/powerpc/sse2-pmuludq1.c: Likewise. + * gcc.target/powerpc/sse2-psadbw-1.c: Likewise. + * gcc.target/powerpc/sse2-pshufd-1.c: Likewise. + * gcc.target/powerpc/sse2-pshufhw-1.c: Likewise. + * gcc.target/powerpc/sse2-pshuflw-1.c: Likewise. + * gcc.target/powerpc/sse2-pslld-2.c: Likewise. + * gcc.target/powerpc/sse2-pslldq-1.c: Likewise. + * gcc.target/powerpc/sse2-psrld-1.c: Likewise. + * gcc.target/powerpc/sse2-psrld-2.c: Likewise. + * gcc.target/powerpc/sse2-psrldq-1.c: Likewise. + * gcc.target/powerpc/sse2-psubusb-1.c: Likewise. + * gcc.target/powerpc/sse2-sqrtpd-1.c: Likewise. + * gcc.target/powerpc/sse2-subsd-1.c: Likewise. + 2018-10-26 Paul A. Clarke <pc@us.ibm.com> * gcc.target/powerpc/ssse3-check.h: New file. diff --git a/gcc/testsuite/gcc.target/powerpc/sse-addss-1.c b/gcc/testsuite/gcc.target/powerpc/sse-addss-1.c index b4bb7a7..782bae8 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-addss-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-addss-1.c @@ -39,17 +39,16 @@ TEST (void) e[3] = s1.a[3]; if (check_union128 (u, e)) -#if DEBUG { - printf ("sse_test_addss_1; check_union128 failed\n"); - printf ("\t add ([%f,%f,%f,%f], [%f,%f,%f,%f]) -> [%f,%f,%f,%F]\n", - s1.x[0], s1.x[1], s1.x[2], s1.x[3], - s2.x[0], s2.x[1], s2.x[2], s2.x[3], - u.x[0], u.x[1], u.x[2], u.x[3]); - printf ("\t expect [%f,%f,%f%f]\n", - e[0], e[1], e[2], e[3]); - } -#else - abort (); +#if DEBUG + printf ("sse_test_addss_1; check_union128 failed\n"); + printf ("\t add ([%f,%f,%f,%f], [%f,%f,%f,%f]) -> [%f,%f,%f,%F]\n", + s1.x[0], s1.x[1], s1.x[2], s1.x[3], + s2.x[0], s2.x[1], s2.x[2], s2.x[3], + u.x[0], u.x[1], u.x[2], u.x[3]); + printf ("\t expect [%f,%f,%f%f]\n", + e[0], e[1], e[2], e[3]); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse-pavgw-1.c b/gcc/testsuite/gcc.target/powerpc/sse-pavgw-1.c index 6c80d33..6f8721a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse-pavgw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse-pavgw-1.c @@ -42,13 +42,12 @@ TEST (void) } if (u.as_m64 != e.as_m64) -#if DEBUG { +#if DEBUG printf ("test_mmx_pavgw_1; failed\n"); printf ("\t _mm_avg_pu16 (%llx, %llx) -> %llx != %llx\n", s1.as_m64, s2.as_m64, u.as_m64, e.as_m64); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-addsd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-addsd-1.c index a08025a..634746a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-addsd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-addsd-1.c @@ -40,14 +40,13 @@ TEST (void) e[1] = s1.a[1]; if (check_union128d (u, e)) + { #if DEBUG - { printf ("sse2_test_addsd_1; check_union128d failed\n"); printf ("\t [%f,%f] + [%f,%f] -> [%f,%f]\n", s1.a[0], s1.a[1], s2.a[0], s2.a[1], u.a[0], u.a[1]); printf ("\t expect [%f,%f]\n", e[0], e[1]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtdq2pd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtdq2pd-1.c index 480bd37..6565b42 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtdq2pd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtdq2pd-1.c @@ -38,17 +38,15 @@ TEST (void) e[1] = (double)s.a[1]; if (check_union128d (u, e)) + { #if DEBUG - { printf ("sse2_test_cvtepi32_pd; check_union128d failed\n"); printf ("\t [%d,%d, %d, %d] -> [%f,%f]\n", - s.a[0], s.a[1], s.a[2], s.a[3], - u.a[0], u.a[1]); - printf ("\t expect [%f,%f]\n", - e[0], e[1]); - } -#else - abort (); + s.a[0], s.a[1], s.a[2], s.a[3], + u.a[0], u.a[1]); + printf ("\t expect [%f,%f]\n", e[0], e[1]); #endif + abort (); + } #endif } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2dq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2dq-1.c index 8f35372..26efa7f 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2dq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2dq-1.c @@ -36,14 +36,13 @@ TEST (void) e[1] = (int)(s.a[1] + 0.5); if (check_union128i_d (u, e)) + { #if DEBUG - { printf ("sse2_test_cvtpd_epi32; check_union128i_d failed\n"); printf ("\t [%f,%f] -> [%d,%d,%d,%d]\n", s.a[0], s.a[1], u.a[0], u.a[1], u.a[2], u.a[3]); printf ("\t expect [%d,%d,%d,%d]\n", e[0], e[1], e[2], e[3]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2ps-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2ps-1.c index 118e512..80be7fd 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2ps-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtpd2ps-1.c @@ -36,14 +36,13 @@ TEST (void) e[1] = (float)s.a[1]; if (check_union128 (u, e)) + { #if DEBUG - { - printf ("sse2_test_cvtpd_ps; check_union128 failed\n"); + printf ("sse2_test_cvtpd_ps; check_union128 failed\n"); printf ("\t [%f,%f] -> [%f,%f,%f,%f]\n", s.a[0], s.a[1], u.a[0], u.a[1], u.a[2], u.a[3]); printf ("\t expect [%f,%f,%f,%f]\n", e[0], e[1], e[2], e[3]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2dq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2dq-1.c index 60f8bab..b9cd6f1 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2dq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2dq-1.c @@ -38,14 +38,13 @@ TEST (void) e[3] = (int)(s.a[3] + 0.5); if (check_union128i_d (u, e)) + { #if DEBUG - { printf ("sse2_test_cvtps2dq_1; check_union128i_d failed\n"); printf ("\t [%f,%f,%f,%f] -> [%d,%d,%d,%d]\n", s.a[0], s.a[1], s.a[2], s.a[3], u.a[0], u.a[1], u.a[2], u.a[3]); printf ("\t expect [%d,%d,%d,%d]\n", e[0], e[1], e[2], e[3]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2pd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2pd-1.c index ef17514..8e1b67b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2pd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtps2pd-1.c @@ -36,14 +36,13 @@ TEST (void) e[1] = (double)s.a[1]; if (check_union128d (u, e)) + { #if DEBUG - { printf ("sse2_test_cvtps2pd_1; check_union128d failed\n"); printf ("\t cvt\t [%f,%f,%f,%f] -> [%f,%f]\n", s.a[0], s.a[1], s.a[2], s.a[3], u.a[0], u.a[1]); printf ("\t expect\t [%f,%f]\n", e[0], e[1]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-1.c index 5978ce5..7f71527 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-1.c @@ -36,13 +36,12 @@ TEST (void) e = (int)(s.a[0] + 0.5); if (d != e) + { #if DEBUG - { printf ("sse2_test_cvtsd2si_1; failed\n"); printf ("\t [%f,%f] -> [%d]\n", s.a[0], s.a[1], d); printf ("\t expect [%d]\n", e); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-2.c index fb88e70..00387a7 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2si-2.c @@ -35,13 +35,12 @@ TEST (void) e = (long long)(s.a[0] + 0.5); if (d != e) + { #if DEBUG - { printf ("sse2_test_cvtsd2si_2; failed\n"); printf ("\t [%f,%f] -> [%ld]\n", s.a[0], s.a[1], d); printf ("\t expect [%ld]\n", e); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2ss-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2ss-1.c index 1aa3104..fc76d3b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2ss-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtsd2ss-1.c @@ -38,15 +38,14 @@ TEST (void) e[0] = (float)source1[0]; if (check_union128(u, e)) + { #if DEBUG - { printf ("sse2_test_cvtsd2ss_1; check_union128 failed\n"); printf ("\t [%f,%f,%f,%f],[%f,%f]\n", s2.a[0], s2.a[1], s2.a[2], s2.a[3], - s1.a[0], s1.a[1]); + s1.a[0], s1.a[1]); printf ("\t -> \t[%f,%f,%f,%f]\n", u.a[0], u.a[1], u.a[2], u.a[3]); printf ("\texpect\t[%f,%f,%f,%f]\n", e[0], e[1], e[2], e[3]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvtss2sd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvtss2sd-1.c index 421365e..5b3ebe6 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvtss2sd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvtss2sd-1.c @@ -37,15 +37,14 @@ TEST (void) e[1] = s1.a[1]; if (check_union128d (u, e)) + { #if DEBUG - { printf ("sse2_test_cvtss2sd_1; check_union128d failed\n"); - printf ("\t [%f,%f], [%f,%f,%f,%f]\n", s1.a[0], s1.a[1], s2.a[0], s2.a[1], - s2.a[2], s2.a[3]); + printf ("\t [%f,%f], [%f,%f,%f,%f]\n", s1.a[0], s1.a[1], + s2.a[0], s2.a[1], s2.a[2], s2.a[3]); printf ("\t -> \t[%f,%f]\n", u.a[0], u.a[1]); printf ("\texpect\t[%f,%f]\n", e[0], e[1]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvttpd2dq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvttpd2dq-1.c index cc17247..8ea6bef 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvttpd2dq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvttpd2dq-1.c @@ -36,14 +36,13 @@ TEST (void) e[1] = (int)s.a[1]; if (check_union128i_d (u, e)) + { #if DEBUG - { - printf ("sse2_test_cvttpd_epi32; check_union128i_d failed\n"); + printf ("sse2_test_cvttpd_epi32; check_union128i_d failed\n"); printf ("\t [%f,%f] -> [%d,%d,%d,%d]\n", s.a[0], s.a[1], u.a[0], u.a[1], u.a[2], u.a[3]); printf ("\t expect [%d,%d,%d,%d]\n", e[0], e[1], e[2], e[3]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-cvttsd2si-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-cvttsd2si-1.c index 90536d5..0523a13 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-cvttsd2si-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-cvttsd2si-1.c @@ -35,13 +35,12 @@ TEST (void) e = (int)(s.a[0]); if (d != e) + { #if DEBUG - { printf ("sse2_test_cvttsd2si_1; failed\n"); printf ("\t [%f,%f] -> [%d]\n", s.a[0], s.a[1], d); printf ("\t expect [%d]\n", e); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-divpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-divpd-1.c index 08ef35f..2350289 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-divpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-divpd-1.c @@ -36,14 +36,13 @@ TEST (void) e[1] = s1.a[1] / s2.a[1]; if (check_union128d (u, e)) + { #if DEBUG - { - printf ("sse2_test_divpd_1; check_union128d failed\n"); - printf ("\t [%f,%f] * [%f,%f] -> [%f,%f]\n", s1.a[0], s1.a[1], s2.a[0], + printf ("sse2_test_divpd_1; check_union128d failed\n"); + printf ("\t [%f,%f] * [%f,%f] -> [%f,%f]\n", s1.a[0], s1.a[1], s2.a[0], s2.a[1], u.a[0], u.a[1]); - printf ("\t expect [%f,%f]\n", e[0], e[1]); - } -#else - abort (); + printf ("\t expect [%f,%f]\n", e[0], e[1]); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-divsd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-divsd-1.c index d7880fd..6d5ac9a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-divsd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-divsd-1.c @@ -36,14 +36,13 @@ TEST (void) e[1] = s1.a[1]; if (check_union128d (u, e)) + { #if DEBUG - { - printf ("sse2_test_divsd_1; check_union128d failed\n"); - printf ("\t [%f,%f] / [%f,%f] -> [%f,%f]\n", s1.a[0], s1.a[1], s2.a[0], + printf ("sse2_test_divsd_1; check_union128d failed\n"); + printf ("\t [%f,%f] / [%f,%f] -> [%f,%f]\n", s1.a[0], s1.a[1], s2.a[0], s2.a[1], u.a[0], u.a[1]); - printf ("\t expect [%f,%f]\n", e[0], e[1]); - } -#else - abort (); + printf ("\t expect [%f,%f]\n", e[0], e[1]); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-maxsd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-maxsd-1.c index d5c704b..7bb70b7 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-maxsd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-maxsd-1.c @@ -36,14 +36,13 @@ TEST (void) e[1] = s1.a[1]; if (check_union128d (u, e)) + { #if DEBUG - { printf ("sse2_test_maxsd_3; check_union128d failed\n"); printf ("\t [%f,%f] + [%f,%f] -> [%f,%f]\n", s1.a[0], s1.a[1], s2.a[0], s2.a[1], u.a[0], u.a[1]); printf ("\t expect [%f,%f]\n", e[0], e[1]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-minsd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-minsd-1.c index 51441b4..1d085a3 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-minsd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-minsd-1.c @@ -36,14 +36,13 @@ TEST (void) e[1] = s1.a[1]; if (check_union128d (u, e)) + { #if DEBUG - { printf ("sse2_test_minsd_3; check_union128d failed\n"); printf ("\t [%f,%f] + [%f,%f] -> [%f,%f]\n", s1.a[0], s1.a[1], s2.a[0], s2.a[1], u.a[0], u.a[1]); printf ("\t expect [%f,%f]\n", e[0], e[1]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-movmskpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-movmskpd-1.c index 74b66b32..933412a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-movmskpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-movmskpd-1.c @@ -45,16 +45,13 @@ TEST (void) e |= 1 << 1; if (checkVi (&d, &e, 1)) + { #if DEBUG - { - printf ("sse2_test_movmskpd_1; check_union128d failed\n"); - printf ("\t [%f,%f] -> [%d]\n", - s1.a[0], s1.a[1], d); - printf ("\t expect [%d]\n", - e); - } -#else - abort (); + printf ("sse2_test_movmskpd_1; check_union128d failed\n"); + printf ("\t [%f,%f] -> [%d]\n", s1.a[0], s1.a[1], d); + printf ("\t expect [%d]\n", e); #endif + abort (); + } #endif } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-movq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-movq-1.c index 54392dd..1eaf2f3 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-movq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-movq-1.c @@ -33,14 +33,13 @@ TEST (void) e[0] = s1.a[0]; if (check_union128i_q (u, e)) + { #if DEBUG - { printf ("sse2_test_movq_1; check_union128i_q failed\n"); printf ("\t move_epi64 ([%llx, %llx]) -> [%llx, %llx]\n", s1.a[0], s1.a[1], u.a[0], u.a[1]); printf ("\t expect [%llx, %llx]\n", e[0], e[1]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-movsd-3.c b/gcc/testsuite/gcc.target/powerpc/sse2-movsd-3.c index 6e7513d..beb908d 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-movsd-3.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-movsd-3.c @@ -34,14 +34,13 @@ TEST (void) u.x = test (s1.x, s2.x); if (check_union128d (u, e)) + { #if DEBUG - { printf ("sse2_test_movsd_3; check_union128d failed\n"); printf ("\t [%f,%f], [%f,%f] -> [%f,%f]\n", s1.a[0], s1.a[1], s2.a[0], s2.a[1], u.a[0], u.a[1]); printf ("\t expect [%f,%f]\n", e[0], e[1]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-mulpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-mulpd-1.c index 2700e06..06adddd 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-mulpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-mulpd-1.c @@ -36,14 +36,13 @@ TEST (void) e[1] = s1.a[1] * s2.a[1]; if (check_union128d (u, e)) + { #if DEBUG - { printf ("sse2_test_mul_pd_1; check_union128d failed\n"); printf ("\t [%f,%f] * [%f,%f] -> [%f,%f]\n", s1.a[0], s1.a[1], s2.a[0], s2.a[1], u.a[0], u.a[1]); printf ("\t expect [%f,%f]\n", e[0], e[1]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-mulsd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-mulsd-1.c index b284d9a..02b50d0 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-mulsd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-mulsd-1.c @@ -36,14 +36,13 @@ TEST (void) e[1] = s1.a[1]; if (check_union128d (u, e)) + { #if DEBUG - { printf ("sse2_test_mul_sd_1; check_union128d failed\n"); printf ("\t [%f,%f] * [%f,%f] -> [%f,%f]\n", s1.a[0], s1.a[1], s2.a[0], s2.a[1], u.a[0], u.a[1]); printf ("\t expect [%f,%f]\n", e[0], e[1]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-packssdw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-packssdw-1.c index 11a79f0..9fbc750 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-packssdw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-packssdw-1.c @@ -55,18 +55,17 @@ TEST (void) } if (check_union128i_w (u, e)) + { #if DEBUG - { printf ("sse2_test_packssdw_1; check_union128i_w failed\n"); - printf ( - "\t ([%x,%x,%x,%x], [%x,%x,%x,%x]) -> [%x,%x,%x,%x, %x,%x,%x,%x]\n", - s1.a[0], s1.a[1], s1.a[2], s1.a[3], s2.a[0], s2.a[1], s2.a[2], - s2.a[3], u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], - u.a[7]); + printf ("\t ([%x,%x,%x,%x], [%x,%x,%x,%x])" + " -> [%x,%x,%x,%x, %x,%x,%x,%x]\n", + s1.a[0], s1.a[1], s1.a[2], s1.a[3], s2.a[0], s2.a[1], s2.a[2], + s2.a[3], u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], + u.a[7]); printf ("\t expect [%x,%x,%x,%x, %x,%x,%x,%x]\n", e[0], e[1], e[2], e[3], - e[4], e[5], e[6], e[7]); - } -#else - abort (); + e[4], e[5], e[6], e[7]); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-packsswb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-packsswb-1.c index ce5bf8d..ed09138 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-packsswb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-packsswb-1.c @@ -55,8 +55,8 @@ TEST (void) } if (check_union128i_b (u, e)) -#if DEBUG { +#if DEBUG printf ("sse2_test_packsswb_1; check_union128i_w failed\n"); printf ("\t ([%x,%x,%x,%x, %x,%x,%x,%x], [%x,%x,%x,%x, %x,%x,%x,%x])\n", s1.a[0], s1.a[1], s1.a[2], s1.a[3], s1.a[4], s1.a[5], s1.a[6], @@ -66,12 +66,11 @@ TEST (void) u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], u.a[7], u.a[8], u.a[9], u.a[10], u.a[11], u.a[12], u.a[13], u.a[14], u.a[15]); - printf ( - "\t expect [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x]\n", - e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], e[10], - e[11], e[12], e[13], e[14], e[15]); - } -#else - abort (); + printf ("\t expect [%x,%x,%x,%x, %x,%x,%x,%x," + " %x,%x,%x,%x, %x,%x,%x,%x]\n", + e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], + e[10], e[11], e[12], e[13], e[14], e[15]); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-packuswb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-packuswb-1.c index 2f08cdb..3024e54e 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-packuswb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-packuswb-1.c @@ -46,8 +46,8 @@ TEST (void) } if (check_union128i_ub (u, e)) -#if DEBUG { +#if DEBUG printf ("sse2_test_packuswb_1; check_union128i_w failed\n"); printf ("\t ([%x,%x,%x,%x, %x,%x,%x,%x], [%x,%x,%x,%x, %x,%x,%x,%x])\n", s1.a[0], s1.a[1], s1.a[2], s1.a[3], s1.a[4], s1.a[5], s1.a[6], @@ -57,12 +57,11 @@ TEST (void) u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], u.a[7], u.a[8], u.a[9], u.a[10], u.a[11], u.a[12], u.a[13], u.a[14], u.a[15]); - printf ( - "\t expect [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x]\n", - e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], e[10], - e[11], e[12], e[13], e[14], e[15]); - } -#else - abort (); + printf ("\t expect [%x,%x,%x,%x, %x,%x,%x,%x," + " %x,%x,%x,%x, %x,%x,%x,%x]\n", + e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], + e[10], e[11], e[12], e[13], e[14], e[15]); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-paddsb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-paddsb-1.c index 29758a9..3864185 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-paddsb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-paddsb-1.c @@ -46,28 +46,27 @@ TEST (void) } if (check_union128i_b (u, e)) -#if DEBUG { +#if DEBUG printf ("sse2_test_paddsb_1; check_union128i_b failed\n"); - printf ( - "\tadds\t([%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x],\n", + printf ("\tadds\t([%x,%x,%x,%x, %x,%x,%x,%x," + " %x,%x,%x,%x, %x,%x,%x,%x],\n", s1.a[0], s1.a[1], s1.a[2], s1.a[3], s1.a[4], s1.a[5], s1.a[6], - s1.a[7], s1.a[8], s1.a[9], s1.a[10], s1.a[11], s1.a[12], s1.a[13], - s1.a[14], s1.a[15]); + s1.a[7], s1.a[8], s1.a[9], s1.a[10], s1.a[11], s1.a[12], + s1.a[13], s1.a[14], s1.a[15]); printf ("\t\t [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x])\n", s2.a[0], s2.a[1], s2.a[2], s2.a[3], s2.a[4], s2.a[5], s2.a[6], - s2.a[7], s2.a[8], s2.a[9], s2.a[10], s2.a[11], s2.a[12], s2.a[13], - s2.a[14], s2.a[15]); + s2.a[7], s2.a[8], s2.a[9], s2.a[10], s2.a[11], s2.a[12], + s2.a[13], s2.a[14], s2.a[15]); printf ("\t ->\t [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x]\n", u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], u.a[7], u.a[8], u.a[9], u.a[10], u.a[11], u.a[12], u.a[13], u.a[14], u.a[15]); - printf ( - "\texpect\t [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x]\n", - e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], e[10], - e[11], e[12], e[13], e[14], e[15]); - } -#else - abort (); + printf ("\texpect\t [%x,%x,%x,%x, %x,%x,%x,%x," + " %x,%x,%x,%x, %x,%x,%x,%x]\n", + e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], + e[10], e[11], e[12], e[13], e[14], e[15]); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-paddsw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-paddsw-1.c index 3603e6f..40e3665 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-paddsw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-paddsw-1.c @@ -46,8 +46,8 @@ TEST (void) } if (check_union128i_w (u, e)) -#if DEBUG { +#if DEBUG printf ("sse2_test_paddsw_1; check_union128i_w failed\n"); printf ("\tadds\t([%x,%x,%x,%x, %x,%x,%x,%x],\n", s1.a[0], s1.a[1], s1.a[2], s1.a[3], s1.a[4], s1.a[5], s1.a[6], s1.a[7]); @@ -55,10 +55,9 @@ TEST (void) s2.a[3], s2.a[4], s2.a[5], s2.a[6], s2.a[7]); printf ("\t ->\t [%x,%x,%x,%x, %x,%x,%x,%x]\n", u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], u.a[7]); - printf ("\texpect\t [%x,%x,%x,%x, %x,%x,%x,%x]\n", e[0], e[1], e[2], e[3], - e[4], e[5], e[6], e[7]); - } -#else - abort (); + printf ("\texpect\t [%x,%x,%x,%x, %x,%x,%x,%x]\n", e[0], e[1], e[2], + e[3], e[4], e[5], e[6], e[7]); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-paddusb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-paddusb-1.c index d5bd185..b706609 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-paddusb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-paddusb-1.c @@ -46,28 +46,27 @@ TEST (void) } if (check_union128i_b (u, e)) -#if DEBUG { +#if DEBUG printf ("sse2_test_paddusb_1; check_union128i_b failed\n"); - printf ( - "\tadds\t([%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x],\n", + printf ("\tadds\t([%x,%x,%x,%x, %x,%x,%x,%x," + " %x,%x,%x,%x, %x,%x,%x,%x],\n", s1.a[0], s1.a[1], s1.a[2], s1.a[3], s1.a[4], s1.a[5], s1.a[6], - s1.a[7], s1.a[8], s1.a[9], s1.a[10], s1.a[11], s1.a[12], s1.a[13], - s1.a[14], s1.a[15]); + s1.a[7], s1.a[8], s1.a[9], s1.a[10], s1.a[11], s1.a[12], + s1.a[13], s1.a[14], s1.a[15]); printf ("\t\t [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x])\n", s2.a[0], s2.a[1], s2.a[2], s2.a[3], s2.a[4], s2.a[5], s2.a[6], - s2.a[7], s2.a[8], s2.a[9], s2.a[10], s2.a[11], s2.a[12], s2.a[13], - s2.a[14], s2.a[15]); + s2.a[7], s2.a[8], s2.a[9], s2.a[10], s2.a[11], s2.a[12], + s2.a[13], s2.a[14], s2.a[15]); printf ("\t ->\t [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x]\n", u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], u.a[7], u.a[8], u.a[9], u.a[10], u.a[11], u.a[12], u.a[13], u.a[14], u.a[15]); - printf ( - "\texpect\t [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x]\n", - e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], e[10], - e[11], e[12], e[13], e[14], e[15]); - } -#else - abort (); + printf ("\texpect\t [%x,%x,%x,%x, %x,%x,%x,%x," + " %x,%x,%x,%x, %x,%x,%x,%x]\n", + e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], + e[10], e[11], e[12], e[13], e[14], e[15]); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pmovmskb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pmovmskb-1.c index 6d5f7e8..921cfe3 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pmovmskb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pmovmskb-1.c @@ -40,17 +40,17 @@ TEST (void) e = e | (1<<i); if (checkVi (&u, &e, 1)) -#if DEBUG { +#if DEBUG printf ("sse2_test_pmovmskb_1; checkVi failed\n"); - printf ("\t ([%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x], -> %x)\n", + printf ("\t ([%x,%x,%x,%x, %x,%x,%x,%x," + " %x,%x,%x,%x, %x,%x,%x,%x], -> %x)\n", s1.a[0], s1.a[1], s1.a[2], s1.a[3], s1.a[4], s1.a[5], s1.a[6], - s1.a[7], s1.a[8], s1.a[9], s1.a[10], s1.a[11], s1.a[12], s1.a[13], - s1.a[14], s1.a[15], u); + s1.a[7], s1.a[8], s1.a[9], s1.a[10], s1.a[11], s1.a[12], + s1.a[13], s1.a[14], s1.a[15], u); printf ("\t expect %x\n", e); - } -#else - abort (); #endif + abort (); + } #endif } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pmulhw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pmulhw-1.c index 6495b0f..b15d2e2 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pmulhw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pmulhw-1.c @@ -41,8 +41,8 @@ TEST (void) } if (check_union128i_w (u, e)) -#if DEBUG { +#if DEBUG printf ("sse2_test_pmulhw_1; check_union128i_w failed\n"); printf ("\tmulhi\t([%x,%x,%x,%x, %x,%x,%x,%x],\n", s1.a[0], s1.a[1], s1.a[2], s1.a[3], s1.a[4], s1.a[5], s1.a[6], s1.a[7]); @@ -50,10 +50,9 @@ TEST (void) s2.a[3], s2.a[4], s2.a[5], s2.a[6], s2.a[7]); printf ("\t ->\t [%x,%x,%x,%x, %x,%x,%x,%x]\n", u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], u.a[7]); - printf ("\texpect\t [%x,%x,%x,%x, %x,%x,%x,%x]\n", e[0], e[1], e[2], e[3], - e[4], e[5], e[6], e[7]); - } -#else - abort (); + printf ("\texpect\t [%x,%x,%x,%x, %x,%x,%x,%x]\n", e[0], e[1], e[2], + e[3], e[4], e[5], e[6], e[7]); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pmuludq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pmuludq-1.c index 4dc54cb..1e41d46 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pmuludq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pmuludq-1.c @@ -38,15 +38,14 @@ TEST (void) e[1] = s1.a[2] * s2.a[2]; if (check_union128i_q (u, e)) -#if DEBUG { +#if DEBUG printf ("sse2_test_pmuludq_1; check_union128i_q failed\n"); printf ("\t ([%x,%x,%x,%x], [%x,%x,%x,%x], -> [%llx, %llx])\n", s1.a[0], s1.a[1], s1.a[2], s1.a[3], s2.a[0], s2.a[1], s2.a[2], s2.a[3], u.a[0], u.a[1]); printf ("\t expect [%llx, %llx]\n", e[0], e[1]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psadbw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psadbw-1.c index 4ac9109..82b8230 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psadbw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psadbw-1.c @@ -45,24 +45,23 @@ TEST (void) if (check_union128i_w (u, e)) -#if DEBUG { +#if DEBUG printf ("sse2_test_psadbw_1; check_union128i_w failed\n"); - printf ( - "\tadds\t([%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x],\n", + printf ("\tadds\t([%x,%x,%x,%x, %x,%x,%x,%x," + " %x,%x,%x,%x, %x,%x,%x,%x],\n", s1.a[0], s1.a[1], s1.a[2], s1.a[3], s1.a[4], s1.a[5], s1.a[6], - s1.a[7], s1.a[8], s1.a[9], s1.a[10], s1.a[11], s1.a[12], s1.a[13], - s1.a[14], s1.a[15]); + s1.a[7], s1.a[8], s1.a[9], s1.a[10], s1.a[11], s1.a[12], + s1.a[13], s1.a[14], s1.a[15]); printf ("\t\t [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x])\n", s2.a[0], s2.a[1], s2.a[2], s2.a[3], s2.a[4], s2.a[5], s2.a[6], - s2.a[7], s2.a[8], s2.a[9], s2.a[10], s2.a[11], s2.a[12], s2.a[13], - s2.a[14], s2.a[15]); + s2.a[7], s2.a[8], s2.a[9], s2.a[10], s2.a[11], s2.a[12], + s2.a[13], s2.a[14], s2.a[15]); printf ("\t ->\t [%x,%x,%x,%x, %x,%x,%x,%x]\n", u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], u.a[7]); - printf ("\texpect\t [%x,%x,%x,%x, %x,%x,%x,%x]\n", e[0], e[1], e[2], e[3], - e[4], e[5], e[6], e[7]); - } -#else - abort (); + printf ("\texpect\t [%x,%x,%x,%x, %x,%x,%x,%x]\n", e[0], e[1], e[2], + e[3], e[4], e[5], e[6], e[7]); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pshufd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pshufd-1.c index 73070b5..b8263ba 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pshufd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pshufd-1.c @@ -37,14 +37,13 @@ TEST (void) e[i] = s1.a[((N & (0x3<<(2*i)))>>(2*i))]; if (check_union128i_d(u, e)) + { #if DEBUG - { printf ("sse2_test_pshufd_1; check_union128i_d failed\n"); printf ("\t ([%x,%x,%x,%x]) -> [%x,%x,%x,%x]\n", s1.a[0], s1.a[1], s1.a[2], s1.a[3], u.a[0], u.a[1], u.a[2], u.a[3]); printf ("\t expect [%x,%x,%x,%x]\n", e[0], e[1], e[2], e[3]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pshufhw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pshufhw-1.c index 90b62c9..cee0d9f 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pshufhw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pshufhw-1.c @@ -46,19 +46,18 @@ TEST (void) e[i+4] = (s1.a[1] >> (16 * m2[i])) & 0xffff; if (check_union128i_w(u, e)) + { #if DEBUG - { - union128i_w s; - s.x = s1.x; - printf ("sse2_test_pshufhw_1; check_union128i_w failed\n"); - printf ("\t ([%hx,%hx,%hx,%hx, %hx,%hx,%hx,%hx])\n", s.a[0], s.a[1], + union128i_w s; + s.x = s1.x; + printf ("sse2_test_pshufhw_1; check_union128i_w failed\n"); + printf ("\t ([%hx,%hx,%hx,%hx, %hx,%hx,%hx,%hx])\n", s.a[0], s.a[1], s.a[2], s.a[3], s.a[4], s.a[5], s.a[6], s.a[7]); - printf ("\t\t -> [%hx,%hx,%hx,%hx, %hx,%hx,%hx,%hx]\n", u.a[0], u.a[1], + printf ("\t\t -> [%hx,%hx,%hx,%hx, %hx,%hx,%hx,%hx]\n", u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], u.a[7]); - printf ("\t expect [%hx,%hx,%hx,%hx, %hx,%hx,%hx,%hx]\n", e[0], e[1], + printf ("\t expect [%hx,%hx,%hx,%hx, %hx,%hx,%hx,%hx]\n", e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pshuflw-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pshuflw-1.c index 548e8bd..c7c357b 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pshuflw-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pshuflw-1.c @@ -46,19 +46,18 @@ TEST (void) e[i] = (s1.a[0] >> (16 * m2[i])) & 0xffff; if (check_union128i_w(u, e)) + { #if DEBUG - { - union128i_w s; - s.x = s1.x; - printf ("sse2_test_pshuflw_1; check_union128i_w failed\n"); - printf ("\t ([%hx,%hx,%hx,%hx, %hx,%hx,%hx,%hx])\n", s.a[0], s.a[1], + union128i_w s; + s.x = s1.x; + printf ("sse2_test_pshuflw_1; check_union128i_w failed\n"); + printf ("\t ([%hx,%hx,%hx,%hx, %hx,%hx,%hx,%hx])\n", s.a[0], s.a[1], s.a[2], s.a[3], s.a[4], s.a[5], s.a[6], s.a[7]); - printf ("\t\t -> [%hx,%hx,%hx,%hx, %hx,%hx,%hx,%hx]\n", u.a[0], u.a[1], + printf ("\t\t -> [%hx,%hx,%hx,%hx, %hx,%hx,%hx,%hx]\n", u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], u.a[7]); - printf ("\t expect [%hx,%hx,%hx,%hx, %hx,%hx,%hx,%hx]\n", e[0], e[1], + printf ("\t expect [%hx,%hx,%hx,%hx, %hx,%hx,%hx,%hx]\n", e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pslld-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-pslld-2.c index 88822b2..00a8596 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pslld-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pslld-2.c @@ -40,15 +40,14 @@ TEST (void) e[i] = s.a[i] << c.a[0]; if (check_union128i_d (u, e)) -#if DEBUG { +#if DEBUG printf ("sse2_test_pslld_2; check_union128i_d failed\n"); printf ("\tsll\t([%x,%x,%x,%x], [%llx,%llx]\n", s.a[0], s.a[1], s.a[2], s.a[3], c.a[0], c.a[1]); printf ("\t ->\t [%x,%x,%x,%x]\n", u.a[0], u.a[1], u.a[2], u.a[3]); printf ("\texpect\t [%x,%x,%x,%x]\n", e[0], e[1], e[2], e[3]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-pslldq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-pslldq-1.c index 38cb159..22a31d0 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-pslldq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-pslldq-1.c @@ -41,24 +41,23 @@ TEST (void) e[i + N] = src[i]; if (check_union128i_b (u, e)) -#if DEBUG { +#if DEBUG printf ("sse2_test_pslldq_1; check_union128i_b failed\n"); - printf ("\t s ([%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x])\n", s.a[0], s.a[1], s.a[2], s.a[3], s.a[4], s.a[5], s.a[6], s.a[7], s.a[8], s.a[9], s.a[10], s.a[11], s.a[12], s.a[13], s.a[14], s.a[15]); - printf ( - "\t u ->\t [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x]\n", - u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], u.a[7], - u.a[8], u.a[9], u.a[10], u.a[11], u.a[12], u.a[13], u.a[14], u.a[15]); - printf ( - "\t expect\t [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x]\n", - e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], e[10], - e[11], e[12], e[13], e[14], e[15]); - } -#else - abort (); + printf ("\t u ->\t [%x,%x,%x,%x, %x,%x,%x,%x," + " %x,%x,%x,%x, %x,%x,%x,%x]\n", + u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], u.a[7], + u.a[8], u.a[9], u.a[10], u.a[11], u.a[12], u.a[13], u.a[14], + u.a[15]); + printf ("\t expect\t [%x,%x,%x,%x, %x,%x,%x,%x," + " %x,%x,%x,%x, %x,%x,%x,%x]\n", + e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], + e[10], e[11], e[12], e[13], e[14], e[15]); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psrld-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psrld-1.c index 0edbf6f..594cd15 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psrld-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psrld-1.c @@ -43,14 +43,13 @@ TEST (void) } if (check_union128i_d (u, e)) -#if DEBUG { +#if DEBUG printf ("sse2_test_psrld_1; check_union128i_d failed\n"); printf ("\tsrl\t([%x,%x,%x,%x],%d\n", s.a[0], s.a[1], s.a[2], s.a[3], N); printf ("\t ->\t [%x,%x,%x,%x]\n", u.a[0], u.a[1], u.a[2], u.a[3]); printf ("\texpect\t [%x,%x,%x,%x]\n", e[0], e[1], e[2], e[3]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psrld-2.c b/gcc/testsuite/gcc.target/powerpc/sse2-psrld-2.c index 6c2e7a1..083c09a 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psrld-2.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psrld-2.c @@ -44,15 +44,14 @@ TEST (void) } if (check_union128i_d (u, e)) -#if DEBUG { +#if DEBUG printf ("sse2_test_psrld_2; check_union128i_d failed\n"); printf ("\tsrld\t([%x,%x,%x,%x], [%llx,%llx]\n", s.a[0], s.a[1], s.a[2], s.a[3], c.a[0], c.a[1]); printf ("\t ->\t [%x,%x,%x,%x]\n", u.a[0], u.a[1], u.a[2], u.a[3]); printf ("\texpect\t [%x,%x,%x,%x]\n", e[0], e[1], e[2], e[3]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psrldq-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psrldq-1.c index 513f241..41bfc4f 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psrldq-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psrldq-1.c @@ -39,10 +39,11 @@ TEST (void) e[i] = src[i+N]; if (check_union128i_b (u, e)) -#if DEBUG { +#if DEBUG printf ("sse2_test_psrldq_1; check_union128i_b failed\n"); - printf ("\tsrl\t([%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x],\n", + printf ("\tsrl\t([%x,%x,%x,%x, %x,%x,%x,%x," + " %x,%x,%x,%x, %x,%x,%x,%x],\n", s.a[0], s.a[1], s.a[2], s.a[3], s.a[4], s.a[5], s.a[6], s.a[7], s.a[8], s.a[9], s.a[10], s.a[11], s.a[12], s.a[13], s.a[14], s.a[15]); @@ -50,12 +51,11 @@ TEST (void) u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], u.a[7], u.a[8], u.a[9], u.a[10], u.a[11], u.a[12], u.a[13], u.a[14], u.a[15]); - printf ( - "\texpect\t [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x]\n", - e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], e[10], - e[11], e[12], e[13], e[14], e[15]); - } -#else - abort (); + printf ("\texpect\t [%x,%x,%x,%x, %x,%x,%x,%x," + " %x,%x,%x,%x, %x,%x,%x,%x]\n", + e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], + e[10], e[11], e[12], e[13], e[14], e[15]); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-psubusb-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-psubusb-1.c index 71e6bf3..b9efa6c 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-psubusb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-psubusb-1.c @@ -46,28 +46,27 @@ TEST (void) } if (check_union128i_b (u, e)) -#if DEBUG { +#if DEBUG printf ("sse2_test_psubusb_1; check_union128i_b failed\n"); - printf ( - "\tadds\t([%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x],\n", + printf ("\tadds\t([%x,%x,%x,%x, %x,%x,%x,%x," + " %x,%x,%x,%x, %x,%x,%x,%x],\n", s1.a[0], s1.a[1], s1.a[2], s1.a[3], s1.a[4], s1.a[5], s1.a[6], - s1.a[7], s1.a[8], s1.a[9], s1.a[10], s1.a[11], s1.a[12], s1.a[13], - s1.a[14], s1.a[15]); + s1.a[7], s1.a[8], s1.a[9], s1.a[10], s1.a[11], s1.a[12], + s1.a[13], s1.a[14], s1.a[15]); printf ("\t\t [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x])\n", s2.a[0], s2.a[1], s2.a[2], s2.a[3], s2.a[4], s2.a[5], s2.a[6], - s2.a[7], s2.a[8], s2.a[9], s2.a[10], s2.a[11], s2.a[12], s2.a[13], - s2.a[14], s2.a[15]); + s2.a[7], s2.a[8], s2.a[9], s2.a[10], s2.a[11], s2.a[12], + s2.a[13], s2.a[14], s2.a[15]); printf ("\t ->\t [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x]\n", u.a[0], u.a[1], u.a[2], u.a[3], u.a[4], u.a[5], u.a[6], u.a[7], u.a[8], u.a[9], u.a[10], u.a[11], u.a[12], u.a[13], u.a[14], u.a[15]); - printf ( - "\texpect\t [%x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x, %x,%x,%x,%x]\n", - e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], e[10], - e[11], e[12], e[13], e[14], e[15]); - } -#else - abort (); + printf ("\texpect\t [%x,%x,%x,%x, %x,%x,%x,%x," + " %x,%x,%x,%x, %x,%x,%x,%x]\n", + e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], + e[10], e[11], e[12], e[13], e[14], e[15]); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-sqrtpd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-sqrtpd-1.c index e0c1bb1..44dd421 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-sqrtpd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-sqrtpd-1.c @@ -41,13 +41,12 @@ TEST (void) } if (check_union128d (u, e)) + { #if DEBUG - { printf ("sse2_test_sqrt_pd_1; check_union128d failed\n"); printf ("\t [%f,%f] -> [%f,%f]\n", s1.a[0], s1.a[1], u.a[0], u.a[1]); printf ("\t expect [%f,%f]\n", e[0], e[1]); - } -#else - abort (); #endif + abort (); + } } diff --git a/gcc/testsuite/gcc.target/powerpc/sse2-subsd-1.c b/gcc/testsuite/gcc.target/powerpc/sse2-subsd-1.c index 23c90ae..7962baf 100644 --- a/gcc/testsuite/gcc.target/powerpc/sse2-subsd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/sse2-subsd-1.c @@ -36,14 +36,13 @@ TEST (void) e[1] = s1.a[1]; if (check_union128d (u, e)) + { #if DEBUG - { printf ("sse2_test_subsd_1; check_union128d failed\n"); printf ("\t [%f,%f] - [%f,%f] -> [%f,%f]\n", s1.a[0], s1.a[1], s2.a[0], s2.a[1], u.a[0], u.a[1]); printf ("\t expect [%f,%f]\n", e[0], e[1]); - } -#else - abort (); #endif + abort (); + } } |