diff --git a/tests/cpu/ppu_gpr/ppu_gpr.cpp b/tests/cpu/ppu_gpr/ppu_gpr.cpp index 90367e5..027f9a6 100644 --- a/tests/cpu/ppu_gpr/ppu_gpr.cpp +++ b/tests/cpu/ppu_gpr/ppu_gpr.cpp @@ -7,6 +7,9 @@ #define PRINT_GPR3(name,i,j,k,GPR) printf(name "([%02d],[%02d],[%02d]) -> %016llx\n", i, j, k, *(unsigned long long*)&GPR); #define PRINT_GPR4(name,i,j,k,l,GPR) printf(name "([%02d],[%02d],[%02d],[%02d]) -> %016llx\n", i, j, k, l, *(unsigned long long*)&GPR); +#define PRINT_GPR1C(name,cyin,cyout,i,GPR) printf(name "([%02d],[c%02d]) -> %016llx [c%02d]\n", i, cyin, *(unsigned long long*)&GPR, cyout); +#define PRINT_GPR2C(name,cyin,cyout,i,j,GPR) printf(name "([%02d],[%02d],[c%02d]) -> %016llx [c%02d]\n", i, j, cyin, *(unsigned long long*)&GPR, cyout); + // Loops with 64-bit integers #define ITERATE1i(x) \ for (unsigned int i=0; i