@@ -66,13 +66,13 @@ int redmule16_compare_int(uint32_t *actual_z, uint32_t *golden_z, int len) {
6666 errors += error ;
6767
6868#ifdef DEBUG
69- tfp_printf ("Golden: 0x%08x ; Actual: 0x%08x ,\n" , golden_word , actual_word );
69+ tfp_printf ("Golden: 0x%08lx @ 0x%08ln ; Actual: 0x%08lx @ 0x%08ln ,\n" , golden_word , ( golden_z + i ), actual_word , ( actual_z + i ) );
7070#endif
7171
7272#ifdef VERBOSE
7373 if (error ) {
7474 if (errors == 1 ) tfp_printf (" golden <- actual @ address @ index\n" );
75- tfp_printf ("0x%08x <- 0x%08x @ 0x%08x @ 0x%08x\n" , golden_word , actual_word , (actual_z + i ),
75+ tfp_printf ("0x%08lx <- 0x%08lx @ 0x%08ln @ 0x%08x\n" , golden_word , actual_word , (actual_z + i ),
7676 i * 4 );
7777 }
7878#endif
@@ -170,13 +170,13 @@ int redmule8_compare_int(uint32_t *actual_z, uint32_t *golden_z, int m, int k) {
170170 errors += error ;
171171
172172#ifdef DEBUG
173- tfp_printf ("Golden: 0x%08x; Actual: 0x%08x,\n" , golden_word , actual_word );
173+ tfp_printf ("Golden: 0x%08x @ 0x%08x ; Actual: 0x%08x @ 0x%08x ,\n" , golden_word , ( golden_z + i ), actual_word , ( actual_z + i ) );
174174#endif
175175
176176#ifdef VERBOSE
177177 if (error ) {
178178 if (errors == 1 ) tfp_printf (" golden <- actual @ address @ index\n" );
179- tfp_printf (" 0x%08x <- 0x%08x @ 0x%08x @ 0x%08x \n" , golden_word , actual_word , (actual_z + i ),
179+ tfp_printf (" 0x%x <- 0x%x @ 0x%x @ 0x%x \n" , golden_word , actual_word , (actual_z + i ),
180180 i * 4 );
181181 }
182182#endif
0 commit comments