ld: Move the .note.build-id section to near the start of the memory map.
[binutils-gdb.git] / sim / testsuite / bfin / cmpacc.s
blobed31f6284692ab49a76dd67f933ea1270b6c7462
1 # Blackfin testcase for the accumulator and compares
2 # mach: bfin
4 .include "testutils.inc"
6 start
8 r7=0;
9 astat=r7;
10 r7.l=0x80;
11 A1.x=r7.l;
12 r0 = 0;
13 A1.w=r0;
14 r1.l = 0xffff;
15 r1.h =0xffff;
16 A0.w=r1;
17 r7.l=0x7f;
18 A0.x=r7.l;
19 #dbg A0;
20 #dbg A1;
21 #dbg astat;
22 cc = A0==A1;
23 #dbg astat;
24 r7=astat;
25 dbga (r7.h, 0x0);
26 dbga (r7.l, 0x0);
27 astat=r0;
28 #dbg astat;
29 r7.l=0x80;
30 A0.x=r7.l;
31 r0 = 0;
32 A0.w=r0;
33 r1.l = 0xffff;
34 r1.h =0xffff;
35 A1.w=r1;
36 r7.l=0x7f;
37 A1.x=r7.l;
38 cc = A0<A1;
39 #dbg astat;
40 r7=astat;
41 dbga (r7.h, 0x0);
42 dbga (r7.l, 0x1026);
43 astat=r0;
44 cc = A0<=A1;
45 #dbg astat;
46 r7=astat;
47 dbga (r7.h, 0x0);
48 dbga (r7.l, 0x1026);
50 pass