PPC testsuite fixes
2020-10-27 Carl Love <cel@us.ibm.com> gcc/testsuite * gcc.target/powerpc/vec-blend-runnable.c: Change #ifdef DEBUG to #if DEBUG. Fix printf line so it is less then 80 characters long. * gcc.target/powerpc/vec-insert-word-runnable.c: Change #ifdef DEBUG to #if DEBUG. * gcc.target/powerpc/vec-permute-ext-runnable.c: Change #ifdef DEBUG to #if DEBUG. * gcc.target/powerpc/vec-replace-word-runnable.c: Change #ifdef DEBUG to #if DEBUG. Fix printf lines so they are less then 80 characters long. * gcc.target/powerpc/vec-shift-double-runnable.c: Change #ifdef DEBUG to #if DEBUG.
This commit is contained in:
parent
b7ac5fdbe7
commit
edea991d2c
5 changed files with 15 additions and 11 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#define DEBUG 0
|
||||
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
|
@ -145,7 +145,8 @@ main (int argc, char *argv [])
|
|||
|
||||
if (!vec_all_eq (vresult_ushort, expected_vresult_ushort)) {
|
||||
#if DEBUG
|
||||
printf("ERROR, vec_blendv (vsrc_a_ushort, vsrc_b_ushort, vsrc_c_ushort)\n");
|
||||
printf("ERROR, vec_blendv (vsrc_a_ushort, vsrc_b_ushort, "
|
||||
"vsrc_c_ushort)\n");
|
||||
for(i = 0; i < 8; i++)
|
||||
printf(" vresult_ushort[%d] = %d, expected_vresult_ushort[%d] = %d\n",
|
||||
i, vresult_ushort[i], i, expected_vresult_ushort[i]);
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#define DEBUG 0
|
||||
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#define DEBUG 0
|
||||
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#define DEBUG 0
|
||||
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
|
@ -213,7 +213,8 @@ main (int argc, char *argv [])
|
|||
|
||||
if (!vec_all_eq (vresult_float, expected_vresult_float)) {
|
||||
#if DEBUG
|
||||
printf("ERROR, vec_replace_unaligned (src_vb_float, src_va_float, index)\n");
|
||||
printf("ERROR, vec_replace_unaligned (src_vb_float, src_va_float, "
|
||||
"index)\n");
|
||||
for(i = 0; i < 4; i++)
|
||||
printf(" vresult_float[%d] = %f, expected_vresult_float[%d] = %f\n",
|
||||
i, vresult_float[i], i, expected_vresult_float[i]);
|
||||
|
@ -234,7 +235,8 @@ main (int argc, char *argv [])
|
|||
|
||||
if (!vec_all_eq (vresult_ullint, expected_vresult_ullint)) {
|
||||
#if DEBUG
|
||||
printf("ERROR, vec_replace_unaligned (src_vb_ullint, src_va_ullint, index)\n");
|
||||
printf("ERROR, vec_replace_unaligned (src_vb_ullint, src_va_ullint, "
|
||||
"index)\n");
|
||||
for(i = 0; i < 2; i++)
|
||||
printf(" vresult_ullint[%d] = %d, expected_vresult_ullint[%d] = %d\n",
|
||||
i, vresult_ullint[i], i, expected_vresult_ullint[i]);
|
||||
|
@ -253,7 +255,8 @@ main (int argc, char *argv [])
|
|||
|
||||
if (!vec_all_eq (vresult_llint, expected_vresult_llint)) {
|
||||
#if DEBUG
|
||||
printf("ERROR, vec_replace_unaligned (src_vb_llint, src_va_llint, index)\n");
|
||||
printf("ERROR, vec_replace_unaligned (src_vb_llint, src_va_llint, "
|
||||
"index)\n");
|
||||
for(i = 0; i < 2; i++)
|
||||
printf(" vresult_llint[%d] = %d, expected_vresult_llint[%d] = %d\n",
|
||||
i, vresult_llint[i], i, expected_vresult_llint[i]);
|
||||
|
@ -271,8 +274,8 @@ main (int argc, char *argv [])
|
|||
|
||||
if (!vec_all_eq (vresult_double, expected_vresult_double)) {
|
||||
#if DEBUG
|
||||
printf("ERROR, vec_replace_unaligned (src_vb_double, src_va_double, index)\
|
||||
n");
|
||||
printf("ERROR, vec_replace_unaligned (src_vb_double, src_va_double, "
|
||||
"index)\n");
|
||||
for(i = 0; i < 2; i++)
|
||||
printf(" vresult_double[%d] = %f, expected_vresult_double[%d] = %f\n",
|
||||
i, vresult_double[i], i, expected_vresult_double[i]);
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#define DEBUG 0
|
||||
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue