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
/
seqstat.s
1
# Blackfin testcase for SEQSTAT register
2
# mach: bfin
3
4
.include "testutils.inc"
5
6
.macro seqstat_test val:req
7
imm32 R0, \val
8
SEQSTAT = R0;
9
R1 = SEQSTAT;
10
CC = R7 == R1;
11
IF !CC JUMP 1f;
12
.endm
13
14
start
15
16
# Writes to SEQSTAT should be ignored
17
R7 = SEQSTAT;
18
19
seqstat_test 0
20
seqstat_test 0x1
21
seqstat_test -1
22
seqstat_test 0xab11cd22
23
24
pass
25
1: fail
This page took
0.028948 seconds
and
4
git commands to generate.