root / tests / tcg / cris / check_mulv32.s @ c09015dd
History | View | Annotate | Download (700 Bytes)
1 | dd43edf4 | ths | # mach: crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: fffffffe\n |
3 | dd43edf4 | ths | # output: ffffffff\n |
4 | dd43edf4 | ths | # output: fffffffe\n |
5 | dd43edf4 | ths | # output: 1\n |
6 | dd43edf4 | ths | # output: fffffffe\n |
7 | dd43edf4 | ths | # output: ffffffff\n |
8 | dd43edf4 | ths | # output: fffffffe\n |
9 | dd43edf4 | ths | # output: 1\n |
10 | dd43edf4 | ths | |
11 | dd43edf4 | ths | ; Check that carry is not modified on v32. |
12 | dd43edf4 | ths | |
13 | dd43edf4 | ths | .include "testutils.inc" |
14 | dd43edf4 | ths | start |
15 | dd43edf4 | ths | moveq -1,r3 |
16 | dd43edf4 | ths | moveq 2,r4 |
17 | dd43edf4 | ths | setf c |
18 | dd43edf4 | ths | muls.d r4,r3 |
19 | dd43edf4 | ths | test_cc 1 0 0 1 |
20 | dd43edf4 | ths | checkr3 fffffffe |
21 | dd43edf4 | ths | move mof,r3 |
22 | dd43edf4 | ths | checkr3 ffffffff |
23 | dd43edf4 | ths | |
24 | dd43edf4 | ths | moveq -1,r3 |
25 | dd43edf4 | ths | moveq 2,r4 |
26 | dd43edf4 | ths | setf c |
27 | dd43edf4 | ths | mulu.d r4,r3 |
28 | dd43edf4 | ths | test_cc 0 0 1 1 |
29 | dd43edf4 | ths | checkr3 fffffffe |
30 | dd43edf4 | ths | move mof,r3 |
31 | dd43edf4 | ths | checkr3 1 |
32 | dd43edf4 | ths | |
33 | dd43edf4 | ths | moveq -1,r3 |
34 | dd43edf4 | ths | moveq 2,r4 |
35 | dd43edf4 | ths | clearf c |
36 | dd43edf4 | ths | muls.d r4,r3 |
37 | dd43edf4 | ths | test_cc 1 0 0 0 |
38 | dd43edf4 | ths | checkr3 fffffffe |
39 | dd43edf4 | ths | move mof,r3 |
40 | dd43edf4 | ths | checkr3 ffffffff |
41 | dd43edf4 | ths | |
42 | dd43edf4 | ths | moveq -1,r3 |
43 | dd43edf4 | ths | moveq 2,r4 |
44 | dd43edf4 | ths | clearf c |
45 | dd43edf4 | ths | mulu.d r4,r3 |
46 | dd43edf4 | ths | test_cc 0 0 1 0 |
47 | dd43edf4 | ths | checkr3 fffffffe |
48 | dd43edf4 | ths | move mof,r3 |
49 | dd43edf4 | ths | checkr3 1 |
50 | dd43edf4 | ths | |
51 | dd43edf4 | ths | quit |