projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
bfin
/
events.s
1
# Blackfin testcase for event processing
2
# mach: bfin
3
4
.include "testutils.inc"
5
6
start
7
8
# Run enough instructions to trigger event processing
9
# and thus cpu stopping/restarting
10
11
R0 = 0;
12
imm32 R1, 100000
13
14
3:
15
R0 += 1; # 1
16
R0 += 1;
17
R0 += 1; # 3
18
R0 += 1;
19
R0 += 1; # 5
20
R0 += 1;
21
R0 += 1; # 7
22
R0 += 1;
23
R0 += 1; # 9
24
R0 += 1;
25
R0 += 1; # 11
26
R0 += 1;
27
R0 += 1; # 13
28
R0 += 1;
29
R0 += 1; # 15
30
R0 += 1;
31
R0 += 1; # 17
32
R0 += 1;
33
R0 += 1; # 19
34
R0 += 1;
35
36
CC = R0 < R1;
37
IF CC JUMP 3b;
38
39
CC = R0 == R1;
40
IF !CC JUMP 1f;
41
42
pass
43
1:
44
fail