OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [cris/] [asm/] [op3.ms] - Blame information for rev 840

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# mach: crisv0 crisv3 crisv8 crisv10
2
# output: ee19cd0b\nee197761\nccff2244\n55aa77ff\nffffaa77\naa\n4243ab11\n424377ab\nfdedaaf0\n4242dd68\n4242dd68\n40025567\n57eb77ff\n55aa77ff\n
3
 
4
 .include "testutils.inc"
5
 .data
6
x:
7
 .dword 0x55aa77ff
8
 .dword 0xccff2244
9
 .dword 0x88ccee19
10
 
11
 start
12
 move.d x,r10
13
 moveq 0,r3
14
 moveq 12,r4
15
 add.d [r10+6],r4,r3
16
 test_cc 1 0 0 0
17
 dumpr3 ; ee19cd0b
18
 
19
 move.d 0x1267,r7
20
 subu.w [r10+2],r3,r8
21
 test_cc 1 0 0 0
22
 move.d r8,r3
23
 dumpr3 ; ee197761
24
 
25
 moveq 1,r8
26
 bound.d [r10+r8.d],r3,r5
27
 test_move_cc 1 0 0 0
28
 move.d r5,r3
29
 dumpr3 ; ccff2244
30
 
31
; Also applies to move insns.  Bleah.
32
 moveq 0,r5
33
 bdap 0,r10
34
 move.d [r3],r5
35
 test_move_cc 0 0 0 0
36
 dumpr3 ; 55aa77ff
37
 
38
 moveq 0,r5
39
 bdap 1,r10
40
 movs.w [r3],r5
41
 test_move_cc 1 0 0 0
42
 dumpr3 ; ffffaa77
43
 
44
 moveq 0,r5
45
 bdap 2,r10
46
 movu.b [r3],r5
47
 test_move_cc 0 0 0 0
48
 dumpr3 ; aa
49
 
50
 move.d 0x42435567,r8
51
 bdap 2,r10
52
 adds.w [r3],r8
53
 test_cc 0 0 0 0
54
 dumpr3 ; 4243ab11
55
 
56
 move.d 0x42435567,r8
57
 bdap 4,r10
58
 addu.w [r3],r8
59
 test_cc 0 0 0 0
60
 dumpr3 ; 424377ab
61
 
62
 move.d 0x42435567,r8
63
 bdap 1,r10
64
 sub.d [r3],r8
65
 test_cc 1 0 0 1
66
 dumpr3 ; fdedaaf0
67
 
68
 move.d 0x42435567,r8
69
 bdap 0,r10
70
 subs.w [r3],r8
71
 test_cc 0 0 0 0
72
 dumpr3 ; 4242dd68
73
 
74
 move.d 0x42435567,r8
75
 bdap 0,r10
76
 subu.w [r3],r8
77
 test_cc 0 0 0 0
78
 dumpr3 ; 4242dd68
79
 
80
 move.d 0x42435567,r8
81
 bdap 0,r10
82
 and.d [r3],r8
83
 test_move_cc 0 0 0 0
84
 dumpr3 ; 40025567
85
 
86
 move.d 0x42435567,r8
87
 bdap 0,r10
88
 or.d [r3],r8
89
 test_move_cc 0 0 0 0
90
 dumpr3 ; 57eb77ff
91
 
92
 move.d 0xc2435567,r8
93
 bdap 0,r10
94
 bound.d [r3],r8
95
 test_move_cc 0 0 0 0
96
 dumpr3 ; 55aa77ff
97
 
98
 quit

powered by: WebSVN 2.1.0

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