OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [cris/] [asm/] [addi.ms] - Blame information for rev 407

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# mach:  crisv0 crisv3 crisv8 crisv10 crisv32
2
# output: 0\n1\n2\n4\nbe02460f\n69d035a6\nc16c14d4\n
3
 
4
 .include "testutils.inc"
5
 start
6
 moveq 0,r3
7
 moveq 0,r4
8
 clearf zcvn
9
 addi r4.b,r3
10
 test_cc 0 0 0 0
11
 dumpr3 ; 0
12
 
13
 moveq 0,r3
14
 moveq 1,r4
15
 setf zcvn
16
 addi r4.b,r3
17
 test_cc 1 1 1 1
18
 dumpr3 ; 1
19
 
20
 moveq 0,r3
21
 moveq 1,r4
22
 setf cv
23
 clearf zn
24
 addi r4.w,r3
25
 test_cc 0 0 1 1
26
 dumpr3 ; 2
27
 
28
 moveq 0,r3
29
 moveq 1,r4
30
 clearf cv
31
 setf zn
32
 addi r4.d,r3
33
 test_cc 1 1 0 0
34
 dumpr3 ; 4
35
 
36
 move.d 0x12345678,r3
37
 move.d 0xabcdef97,r4
38
 clearf cn
39
 setf zv
40
 addi r4.b,r3
41
 test_cc 0 1 1 0
42
 dumpr3 ; be02460f
43
 
44
 move.d 0x12345678,r3
45
 move.d 0xabcdef97,r4
46
 setf cn
47
 clearf zv
48
 addi r4.w,r3
49
 test_cc 1 0 0 1
50
 dumpr3 ; 69d035a6
51
 
52
 move.d 0x12345678,r3
53
 move.d 0xabcdef97,r4
54
 addi r4.d,r3
55
 dumpr3 ; c16c14d4
56
 
57
 quit

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.