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/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [cr16/] [storw_test.s] - Blame information for rev 156

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 132 jeremybenn
        .text
2
        .global main
3
main:
4
        ######################
5
        #  storw reg abs20/24
6
        ######################
7
        storw r0,0x0
8
        storw r1,0xff
9
        storw r3,0xfff
10
        storw r4,0x1234
11
        storw r5,0x1234
12
        storw r0,0x7A1234
13
        storw r1,0xBA1234
14
        storw r2,0xffffff
15
        ######################
16
        #  storw abs20 rel reg
17
        ######################
18
        storw r0,[r12]0x0
19
        storw r0,[r13]0x0
20
        storw r1,[r12]0xff
21
        storw r1,[r13]0xff
22
        storw r3,[r12]0xfff
23
        storw r3,[r13]0xfff
24
        storw r4,[r12]0x1234
25
        storw r4,[r13]0x1234
26
        storw r5,[r12]0x1234
27
        storw r5,[r13]0x1234
28
        storw r2,[r12]0x4567
29
        storw r2,[r13]0xA1234
30
        ###################################
31
        #  storw reg rbase(disp20/-disp20)
32
        ###################################
33
        storw r1,0x4(r1,r0)
34
        storw r3,0x4(r3,r2)
35
        storw r4,0x1234(r1,r0)
36
        storw r5,0x1234(r3,r2)
37
        storw r6,0xA1234(r1,r0)
38
        storw r1,-0x4(r1,r0)
39
        storw r3,-0x4(r3,r2)
40
        storw r4,-0x1234(r1,r0)
41
        storw r5,-0x1234(r3,r2)
42
        storw r6,-0xA1234(r1,r0)
43
        #################################################
44
        #  storw reg rpbase(disp4/disp16/disp20/-disp20)
45
        #################################################
46
        storw r0,0x0(r1,r0)
47
        storw r0,0x0(r1,r0)
48
        storw r0,0xf(r1,r0)
49
        storw r1,0xf(r1,r0)
50
        storw r2,0x1234(r1,r0)
51
        storw r3,0xabcd(r3,r2)
52
        storw r4,0xAfff(r4,r3)
53
        storw r5,0xA1234(r6,r5)
54
        storw r0,-0xf(r1,r0)
55
        storw r1,-0xf(r1,r0)
56
        storw r2,-0x1234(r1,r0)
57
        storw r3,-0xabcd(r3,r2)
58
        storw r4,-0xAfff(r4,r3)
59
        storw r5,-0xA1234(r6,r5)
60
        ####################################
61
        #  storw rbase(disp0/disp14) rel reg
62
        ####################################
63
        storw r0,[r12]0x0(r1,r0)
64
        storw r1,[r13]0x0(r1,r0)
65
        storw r2,[r12]0x1234(r1,r0)
66
        storw r3,[r13]0x1abcd(r1,r0)
67
        #################################
68
        #  storw reg rpbase(disp20) rel
69
        #################################
70
        storw r4,[r12]0xA1234(r1,r0)
71
        storw r5,[r13]0xB1234(r1,r0)
72
        storw r6,[r13]0xfffff(r1,r0)
73
        #######################
74
        # storw reg, uimm16/20
75
        ######################
76
        storw $4,0xbcd
77
        storw $5,0xaabcd
78
        storw $3,0xfaabcd
79
 
80
        #######################
81
        # storw reg, uimm16/20
82
        ######################
83
        storw $5,[r12]0x14
84
        storw $4,[r13]0xabfc
85
        storw $3,[r12]0x1234
86
        storw $3,[r13]0x1234
87
        storw $3,[r12]0x34
88
        #######################
89
        # storw imm, index-rbase
90
        ######################
91
        storw $3,[r12]0xa7a(r1,r0)
92
        storw $3,[r12]0xa7a(r3,r2)
93
        storw $3,[r12]0xa7a(r4,r3)
94
        storw $3,[r12]0xa7a(r5,r4)
95
        storw $3,[r12]0xa7a(r6,r5)
96
        storw $3,[r12]0xa7a(r7,r6)
97
        storw $3,[r12]0xa7a(r9,r8)
98
        storw $3,[r12]0xa7a(r11,r10)
99
        storw $3,[r13]0xa7a(r1,r0)
100
        storw $3,[r13]0xa7a(r3,r2)
101
        storw $3,[r13]0xa7a(r4,r3)
102
        storw $3,[r13]0xa7a(r5,r4)
103
        storw $3,[r13]0xa7a(r6,r5)
104
        storw $3,[r13]0xa7a(r7,r6)
105
        storw $3,[r13]0xa7a(r9,r8)
106
        storw $3,[r13]0xa7a(r11,r10)
107
        storw $5,[r13]0xb7a(r4,r3)
108
        storw $1,[r12]0x17a(r6,r5)
109
        storw $1,[r13]0x134(r6,r5)
110
        storw $3,[r12]0xabcde(r4,r3)
111
        storw $5,[r13]0xabcd(r4,r3)
112
        storw $3,[r12]0xabcd(r6,r5)
113
        storw $3,[r13]0xbcde(r6,r5)
114
        #######################
115
        # storw imm4, rbase(disp)
116
        ######################
117
        storw $5,0x0(r2)
118
        storw $3,0x34(r12)
119
        storw $3,0xab(r13)
120
        storw $5,0xad(r1)
121
        storw $5,0xcd(r2)
122
        storw $5,0xfff(r0)
123
        storw $3,0xbcd(r4)
124
        storw $3,0xfff(r12)
125
        storw $3,0xfff(r13)
126
        storw $3,0xffff(r13)
127
        storw $3,0x2343(r12)
128
        storw $3,0x12345(r2)
129
        storw $3,0x4abcd(r8)
130
        storw $3,0xfabcd(r13)
131
        storw $3,0xfabcd(r8)
132
        storw $3,0xfabcd(r9)
133
        storw $3,0x4abcd(r9)
134
        ##########################
135
        # storw imm, disp20(rpbase)
136
        #########################
137
        storw $3,0x0(r2,r1)
138
        storw $5,0x1(r2,r1)
139
        storw $4,0x1234(r2,r1)
140
        storw $3,0x1234(r2,r1)
141
        storw $3,0x12345(r2,r1)
142
        storw $3,0x123(r2,r1)
143
        storw $3,0x12345(r2,r1)
144
 

powered by: WebSVN 2.1.0

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