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/] [subxr.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: 3\n3\nffffff03\nffff0003\nff00\n0\n10000\n10000\n0\nffffff00\n0\n781343c9\n781344c9\n78124cc9\n78134cc9\nc450\n7ffff8ce\n
3
 
4
 .include "testutils.inc"
5
 start
6
 moveq 2,r3
7
 move.d 0xff,r4
8
 subs.b r4,r3
9
 test_cc 0 0 0 1
10
 dumpr3 ; 3
11
 
12
 moveq 2,r3
13
 move.d 0xffff,r4
14
 subs.w r4,r3
15
 test_cc 0 0 0 1
16
 dumpr3 ; 3
17
 
18
 moveq 2,r3
19
 move.d 0xffff,r4
20
 subu.b r4,r3
21
 test_cc 1 0 0 1
22
 dumpr3 ; ffffff03
23
 
24
 moveq 2,r3
25
 move.d 0xffffffff,r4
26
 subu.w r4,r3
27
 test_cc 1 0 0 1
28
 dumpr3 ; ffff0003
29
 
30
 move.d 0xffff,r3
31
 move.d 0xffffffff,r4
32
 subu.b r4,r3
33
 test_cc 0 0 0 0
34
 dumpr3 ; ff00
35
 
36
 move.d 0xffff,r3
37
 move.d 0xffffffff,r4
38
 subu.w r4,r3
39
 test_cc 0 1 0 0
40
 dumpr3 ; 0
41
 
42
 move.d 0xffff,r3
43
 move.d 0xff,r4
44
 subs.b r4,r3
45
 test_cc 0 0 0 1
46
 dumpr3 ; 10000
47
 
48
 move.d 0xffff,r4
49
 move.d r4,r3
50
 subs.w r4,r3
51
 test_cc 0 0 0 1
52
 dumpr3 ; 10000
53
 
54
 moveq -1,r3
55
 move.d 0xff,r4
56
 subs.b r4,r3
57
 test_cc 0 1 0 0
58
 dumpr3 ; 0
59
 
60
 moveq -1,r3
61
 move.d 0xff,r4
62
 subs.w r4,r3
63
 test_cc 1 0 0 0
64
 dumpr3 ; ffffff00
65
 
66
 moveq -1,r3
67
 move.d 0xffff,r4
68
 subs.w r4,r3
69
 test_cc 0 1 0 0
70
 dumpr3 ; 0
71
 
72
 move.d 0x5432f789,r4
73
 move.d 0x78134452,r3
74
 subu.b r4,r3
75
 test_cc 0 0 0 0
76
 dumpr3 ; 781343c9
77
 
78
 move.d 0x5432f789,r4
79
 move.d 0x78134452,r3
80
 subs.b r4,r3
81
 test_cc 0 0 0 1
82
 dumpr3 ; 781344c9
83
 
84
 move.d 0x5432f789,r4
85
 move.d 0x78134452,r3
86
 subu.w r4,r3
87
 test_cc 0 0 0 0
88
 dumpr3 ; 78124cc9
89
 
90
 move.d 0x5432f789,r4
91
 move.d 0x78134452,r3
92
 subs.w r4,r3
93
 test_cc 0 0 0 1
94
 dumpr3 ; 78134cc9
95
 
96
 move.d 0x4452,r3
97
 move.d 0x78568002,r4
98
 subs.w r4,r3
99
 test_cc 0 0 0 1
100
 dumpr3 ; c450
101
 
102
 move.d 0x80000032,r3
103
 move.d 0xffff0764,r4
104
 subu.w r4,r3
105
 test_cc 0 0 1 0
106
 dumpr3 ; 7ffff8ce
107
 
108
 quit

powered by: WebSVN 2.1.0

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