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
/
cli-sti.s
1
# Blackfin testcase for cli/sti instructions
2
# mach: bfin
3
# sim: --environment operating
4
5
.include "testutils.inc"
6
7
start
8
9
# Make sure we can't mask <=EVT4
10
R0 = 0;
11
sti R0;
12
cli R1;
13
R2 = 0x1f;
14
CC = R1 == R2;
15
IF !CC JUMP 1f;
16
17
# Make sure we can mask >=EVT5
18
R0 = 0xff;
19
sti R0;
20
cli R1;
21
CC = R0 == R1;
22
IF !CC JUMP 1f;
23
24
dbg_pass
25
1: dbg_fail
This page took
0.037762 seconds
and
4
git commands to generate.