projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
sim: bfin: import testsuite
[deliverable/binutils-gdb.git]
/
sim
/
testsuite
/
sim
/
bfin
/
hwloop-nested.s
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;
13
1: R0 += 1;
14
15
LSETUP (2f, 3f) LC1 = P1;
16
2: 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
30
3: nop;
31
32
fail:
33
fail
This page took
0.030603 seconds
and
4
git commands to generate.