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
/
dsp_neg.S
blob
a6ec10ad42b74a72648b5132cc71127702971fac
1
// ALU test program.
2
// Test instructions:
3
// dreg = -dreg (ns);
4
// dreg = -dreg (s);
5
// dspalu32 negate instruction
6
# mach: bfin
7
8
#include "test.h"
9
.include "testutils.inc"
10
start
11
12
R0 = 0;
13
ASTAT = R0;
14
15
// CHECK MULTI ISSUE
16
r1=0x5;
17
loadsym i0, data0;
18
r2 = -r1 (ns) || r3=[i0++];
19
checkreg r2, 0xfffffffb;
20
r3 = astat
21
checkreg r3, (_AN);
22
23
r1.h = 0x8000;
24
r1.l = 0x0;
25
r2 = -r1 (s);
26
checkreg r2, 0x7fffffff;
27
28
r3 = astat;
29
_dbg astat;
30
checkreg r3, (_VS|_V|_V_COPY);
31
32
pass
33
34
.data
35
data0:
36
.space (0x10);