repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ld: Move the .note.build-id section to near the start of the memory map.
[binutils-gdb.git]
/
sim
/
testsuite
/
bfin
/
msa_acp_5.10.S
blob
75e50e3c2db2b97305d1b1a5e573c7f344892c4f
1
# mach: bfin
2
3
#include "test.h"
4
.include "testutils.inc"
5
start
6
7
init_r_regs 0
8
astat = r0;
9
10
r1.l = 0x0;
11
r1.h = 0x8000;
12
A0.w=r1;
13
_dbg a1;
14
a0 = a0 << 8;
15
_dbg a0;
16
_dbg astat;
17
18
19
A0 = - A0;
20
_dbg astat;
21
_dbg a0;
22
r7 = astat;
23
checkreg r7, (_AV0|_AV0S);
24
25
r1.l = 0x0;
26
r1.h = 0x8000;
27
A1.w=r1;
28
_dbg a0;
29
a1 = a1 << 8;
30
_dbg a1;
31
_dbg astat;
32
r7 = astat;
33
checkreg r7, (_AV0|_AV0S|_AN);
34
35
A1 = - A1;
36
r7 = astat;
37
checkreg r7, (_AV1|_AV1S|_AV0|_AV0S);
38
_dbg astat;
39
_dbg a1;
40
pass;