1# Blackfin testcase for overlapping nested hwloops (LB) 2# mach: bfin 3 4 .include "testutils.inc" 5 6 start 7 8 R0 = 0; 9 R1 = 0; 10 P0 = 2; 11 P1 = 2; 12 LSETUP (1f, 3f) LC0 = P0; 131: R0 += 1; 14 15 LSETUP (2f, 3f) LC1 = P1; 162: R1 += 1; 17 18 CC = R1 == 2; 19 IF !CC JUMP 3f; 20 CC = R0 == 1; 21 IF !CC JUMP fail; 22 R3 = LC0; 23 CC = R3 == 2; 24 IF !CC JUMP fail; 25 R3 = LC1; 26 CC = R3 == 1; 27 IF !CC JUMP fail; 28 pass 29 303: nop; 31 32fail: 33 fail 34