qcrypto-luks: don't overwrite cipher_mode in header
[qemu/ar7.git] / tests / tcg / cris / bare / check_mulv32.s
blobf379358765baed2dc3b779ba7f53cf0b54f22373
1 # mach: crisv32
2 # output: fffffffe\n
3 # output: ffffffff\n
4 # output: fffffffe\n
5 # output: 1\n
6 # output: fffffffe\n
7 # output: ffffffff\n
8 # output: fffffffe\n
9 # output: 1\n
11 ; Check that carry is not modified on v32.
13 .include "testutils.inc"
14 start
15 moveq -1,r3
16 moveq 2,r4
17 setf c
18 muls.d r4,r3
19 test_cc 1 0 0 1
20 checkr3 fffffffe
21 move mof,r3
22 checkr3 ffffffff
24 moveq -1,r3
25 moveq 2,r4
26 setf c
27 mulu.d r4,r3
28 test_cc 0 0 1 1
29 checkr3 fffffffe
30 move mof,r3
31 checkr3 1
33 moveq -1,r3
34 moveq 2,r4
35 clearf c
36 muls.d r4,r3
37 test_cc 1 0 0 0
38 checkr3 fffffffe
39 move mof,r3
40 checkr3 ffffffff
42 moveq -1,r3
43 moveq 2,r4
44 clearf c
45 mulu.d r4,r3
46 test_cc 0 0 1 0
47 checkr3 fffffffe
48 move mof,r3
49 checkr3 1
51 quit