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
/
issue129.s
1
# Blackfin testcase for PREGS and BREV
2
# mach: bfin
3
4
.include "testutils.inc"
5
6
start
7
8
// issue 129
9
10
P0.L = 0x0000;
11
P0.H = 0x8000;
12
13
P4.L = 0x0000;
14
P4.H = 0x8000;
15
16
P4 += P0 (BREV);
17
18
R0 = P4;
19
DBGA ( R0.H , 0x4000 );
20
DBGA ( R0.L , 0 );
21
22
//--------------
23
24
P0.L = 0x0000;
25
P0.H = 0xE000;
26
27
P4.L = 0x1f09;
28
P4.H = 0x9008;
29
30
P4 += P0 (BREV);
31
32
R0 = P4;
33
DBGA ( R0.H , 0x0808 );
34
DBGA ( R0.L , 0x1f09 );
35
36
pass
This page took
0.030942 seconds
and
4
git commands to generate.