root / tests / cris / check_neg.s @ 2917dce4
History | View | Annotate | Download (1.5 kB)
1 | dd43edf4 | ths | # mach: crisv0 crisv3 crisv8 crisv10 crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: ffffffff\nffffffff\n0\n80000000\n1\nba987655\nffff\nffff\n0\n89ab8000\nffff0001\n45677655\nff\nff\n0\n89abae80\nffffff01\n45678955\n |
3 | dd43edf4 | ths | |
4 | dd43edf4 | ths | .include "testutils.inc" |
5 | dd43edf4 | ths | start |
6 | dd43edf4 | ths | moveq 0,r3 |
7 | dd43edf4 | ths | moveq 1,r4 |
8 | dd43edf4 | ths | neg.d r4,r3 |
9 | dd43edf4 | ths | test_move_cc 1 0 0 0 |
10 | dd43edf4 | ths | checkr3 ffffffff |
11 | dd43edf4 | ths | |
12 | dd43edf4 | ths | moveq 1,r3 |
13 | dd43edf4 | ths | moveq 0,r4 |
14 | dd43edf4 | ths | neg.d r3,r3 |
15 | dd43edf4 | ths | test_move_cc 1 0 0 0 |
16 | dd43edf4 | ths | checkr3 ffffffff |
17 | dd43edf4 | ths | |
18 | dd43edf4 | ths | ;; FIXME: this was wrong. |
19 | dd43edf4 | ths | moveq 0,r3 |
20 | dd43edf4 | ths | neg.d r3,r3 |
21 | dd43edf4 | ths | test_move_cc 0 1 0 0 |
22 | dd43edf4 | ths | checkr3 0 |
23 | dd43edf4 | ths | |
24 | dd43edf4 | ths | move.d 0x80000000,r3 |
25 | dd43edf4 | ths | neg.d r3,r3 |
26 | dd43edf4 | ths | test_move_cc 1 0 0 0 |
27 | dd43edf4 | ths | checkr3 80000000 |
28 | dd43edf4 | ths | |
29 | dd43edf4 | ths | moveq -1,r3 |
30 | dd43edf4 | ths | neg.d r3,r3 |
31 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
32 | dd43edf4 | ths | checkr3 1 |
33 | dd43edf4 | ths | |
34 | dd43edf4 | ths | move.d 0x456789ab,r3 |
35 | dd43edf4 | ths | neg.d r3,r3 |
36 | dd43edf4 | ths | test_move_cc 1 0 0 0 |
37 | dd43edf4 | ths | checkr3 ba987655 |
38 | dd43edf4 | ths | |
39 | dd43edf4 | ths | moveq 0,r3 |
40 | dd43edf4 | ths | moveq 1,r4 |
41 | dd43edf4 | ths | neg.w r4,r3 |
42 | dd43edf4 | ths | test_move_cc 1 0 0 0 |
43 | dd43edf4 | ths | checkr3 ffff |
44 | dd43edf4 | ths | |
45 | dd43edf4 | ths | moveq 1,r3 |
46 | dd43edf4 | ths | moveq 0,r4 |
47 | dd43edf4 | ths | neg.w r3,r3 |
48 | dd43edf4 | ths | test_move_cc 1 0 0 0 |
49 | dd43edf4 | ths | checkr3 ffff |
50 | dd43edf4 | ths | |
51 | dd43edf4 | ths | moveq 0,r3 |
52 | dd43edf4 | ths | neg.w r3,r3 |
53 | dd43edf4 | ths | test_move_cc 0 1 0 0 |
54 | dd43edf4 | ths | checkr3 0 |
55 | dd43edf4 | ths | |
56 | dd43edf4 | ths | move.d 0x89ab8000,r3 |
57 | dd43edf4 | ths | neg.w r3,r3 |
58 | dd43edf4 | ths | test_move_cc 1 0 0 0 |
59 | dd43edf4 | ths | checkr3 89ab8000 |
60 | dd43edf4 | ths | |
61 | dd43edf4 | ths | moveq -1,r3 |
62 | dd43edf4 | ths | neg.w r3,r3 |
63 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
64 | dd43edf4 | ths | checkr3 ffff0001 |
65 | dd43edf4 | ths | |
66 | dd43edf4 | ths | move.d 0x456789ab,r3 |
67 | dd43edf4 | ths | neg.w r3,r3 |
68 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
69 | dd43edf4 | ths | checkr3 45677655 |
70 | dd43edf4 | ths | |
71 | dd43edf4 | ths | moveq 0,r3 |
72 | dd43edf4 | ths | moveq 1,r4 |
73 | dd43edf4 | ths | neg.b r4,r3 |
74 | dd43edf4 | ths | test_move_cc 1 0 0 0 |
75 | dd43edf4 | ths | checkr3 ff |
76 | dd43edf4 | ths | |
77 | dd43edf4 | ths | moveq 1,r3 |
78 | dd43edf4 | ths | moveq 0,r4 |
79 | dd43edf4 | ths | neg.b r3,r3 |
80 | dd43edf4 | ths | test_move_cc 1 0 0 0 |
81 | dd43edf4 | ths | checkr3 ff |
82 | dd43edf4 | ths | |
83 | dd43edf4 | ths | moveq 0,r3 |
84 | dd43edf4 | ths | neg.b r3,r3 |
85 | dd43edf4 | ths | test_move_cc 0 1 0 0 |
86 | dd43edf4 | ths | checkr3 0 |
87 | dd43edf4 | ths | |
88 | dd43edf4 | ths | ;; FIXME: was wrong. |
89 | dd43edf4 | ths | move.d 0x89abae80,r3 |
90 | dd43edf4 | ths | neg.b r3,r3 |
91 | dd43edf4 | ths | test_move_cc 1 0 0 1 |
92 | dd43edf4 | ths | checkr3 89abae80 |
93 | dd43edf4 | ths | |
94 | dd43edf4 | ths | moveq -1,r3 |
95 | dd43edf4 | ths | neg.b r3,r3 |
96 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
97 | dd43edf4 | ths | checkr3 ffffff01 |
98 | dd43edf4 | ths | |
99 | dd43edf4 | ths | move.d 0x456789ab,r3 |
100 | dd43edf4 | ths | neg.b r3,r3 |
101 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
102 | dd43edf4 | ths | checkr3 45678955 |
103 | dd43edf4 | ths | |
104 | dd43edf4 | ths | quit |