ld: Move the .note.build-id section to near the start of the memory map.
[binutils-gdb.git] / sim / testsuite / bfin / a12.s
blobddc436e8272278cb9cb2b330c200c1ffc8433909
1 // Test SAA
2 # mach: bfin
4 .include "testutils.inc"
5 start
7 I0 = 0;
8 I1 = 0;
10 imm32 R0, 0x04030201;
11 imm32 R2, 0x04030201;
12 A1 = A0 = 0;
13 saa(r1:0,r3:2);
14 R0 = A0.w;
15 R1 = A1.w;
16 CHECKREG R0, 0;
17 CHECKREG R1, 0;
19 imm32 R0, 0x00000201;
20 imm32 R2, 0x00020102;
21 A1 = A0 = 0;
22 saa(r1:0,r3:2);
23 saa(r1:0,r3:2);
24 saa(r1:0,r3:2);
25 R0 = A0.w;
26 R1 = A1.w;
27 CHECKREG R0, 0x00030003;
28 CHECKREG R1, 0x00000006;
30 imm32 R0, 0x000300ff;
31 imm32 R2, 0x0001ff00;
32 A1 = A0 = 0;
33 saa(r1:0,r3:2);
34 saa(r1:0,r3:2);
35 R0 = A0.w;
36 R1 = A1.w;
37 CHECKREG R0, 0x1fe01fe;
38 CHECKREG R1, 0x0000004;
40 pass