Automatic date update in version.in
[deliverable/binutils-gdb.git] / sim / testsuite / bfin / random_0007.S
1 # Make sure the acc regs are updated even when the search criteria is not met
2 # (this implicitly affects the top 8 bits)
3 # mach: bfin
4 #include "test.h"
5 .include "testutils.inc"
6
7 start
8
9 dmm32 ASTAT, (0x08e00690 | _VS | _AC1 | _AN);
10 dmm32 A0.w, 0x42357aea;
11 dmm32 A0.x, 0x00000001;
12 dmm32 A1.w, 0x3a3f0000;
13 dmm32 A1.x, 0x00000000;
14 imm32 P0, 0x7119f94d;
15 imm32 R4, 0xcdeea690;
16 imm32 R5, 0xffb58000;
17 imm32 R6, 0x72252b1e;
18 (R4, R5) = SEARCH R6 (GE);
19 checkreg R4, 0x7119f94d;
20 checkreg A0.w, 0x00007aea;
21 checkreg A0.x, 0x00000000;
22 checkreg A1.w, 0x00007225;
23 checkreg A1.x, 0x00000000;
24 checkreg ASTAT, (0x08e00690 | _VS | _AC1 | _AN);
25
26 dmm32 ASTAT, (0x2cf04210 | _VS | _V | _AC1 | _AC0 | _V_COPY | _AC0_COPY);
27 dmm32 A0.w, 0x4193c6bc;
28 dmm32 A0.x, 0xffffffd4;
29 dmm32 A1.w, 0xa97e7452;
30 dmm32 A1.x, 0xffffffff;
31 imm32 P0, 0x51e152a5;
32 imm32 R1, 0x36deeb9a;
33 imm32 R5, 0x386ab3f7;
34 imm32 R7, 0x2a3d5114;
35 (R5, R1) = SEARCH R7 (GT);
36 checkreg R1, 0x51e152a5;
37 checkreg A0.w, 0x00005114;
38 checkreg A0.x, 0x00000000;
39 checkreg A1.w, 0x00007452;
40 checkreg A1.x, 0x00000000;
41 checkreg ASTAT, (0x2cf04210 | _VS | _V | _AC1 | _AC0 | _V_COPY | _AC0_COPY);
42
43 dmm32 ASTAT, (0x2cf04210 | _VS | _V | _AC1 | _AC0 | _V_COPY | _AC0_COPY);
44 dmm32 A0.w, 0x4193c6bc;
45 dmm32 A0.x, 0xffffffd4;
46 dmm32 A1.w, 0x0000ffff;
47 dmm32 A1.x, 0x00000000;
48 imm32 P0, 0x51e152a5;
49 imm32 R1, 0x36deeb9a;
50 imm32 R5, 0x386ab3f7;
51 imm32 R7, 0xFa3d5114;
52 (R5, R1) = SEARCH R7 (GT);
53 checkreg R1, 0x51e152a5;
54 checkreg A0.w, 0x00005114;
55 checkreg A0.x, 0x00000000;
56 checkreg A1.w, 0xffffffff;
57 checkreg A1.x, 0xffffffff;
58 checkreg ASTAT, (0x2cf04210 | _VS | _V | _AC1 | _AC0 | _V_COPY | _AC0_COPY);
59
60 pass
This page took 0.047322 seconds and 4 git commands to generate.