ld: Move the .note.build-id section to near the start of the memory map.
[binutils-gdb.git] / sim / testsuite / bfin / dsp_neg.S
bloba6ec10ad42b74a72648b5132cc71127702971fac
1 //  ALU test program.
2 //  Test instructions:
3 //      dreg = -dreg (ns);
4 //      dreg = -dreg (s);
5 // dspalu32 negate instruction
6 # mach: bfin
8 #include "test.h"
9 .include "testutils.inc"
10         start
12         R0 = 0;
13         ASTAT = R0;
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);
23         r1.h = 0x8000;
24         r1.l = 0x0;
25         r2 = -r1 (s);
26         checkreg r2, 0x7fffffff;
28         r3 = astat;
29         _dbg astat;
30         checkreg r3, (_VS|_V|_V_COPY);
32         pass
34         .data
35 data0:
36         .space (0x10);