1	.text
2	.global iwmmxt
3iwmmxt:
4
5	tandcb		r15
6	TANDCHLE	r15
7	TANDCWge	r15
8
9	TBCSTBlt	wr0, r1
10	tbcsth		wr1, r2
11	TBCSTWGT	wr2, r3
12
13	textrcb		r15, #7
14	textrcheq	r15, #2
15	TEXTRCW		r15, #0
16
17	TEXTRMUB	r14, wr3, #6
18	textrmsbne	r13, wr4, #5
19	textrmUH	r12, wr5, #2
20	textrmSh	r11, wr6, #0
21	TEXTRMUWcs	r10, wr7, #1
22	textrmswhs	r9,  wr8, #0
23
24	TINSRB		wr9,  r8, #4
25	tinsrhcc	wr10, r7, #0
26	tinsrw		wr11, r6, #1
27
28	tmcrul		wcid, r5
29	TMCRR		wr12, r6, r7
30	tmialo		wr13, r5, r4
31	tmiaphMI	wr14, r3, r2
32
33	TMIAbb		wr15, r0, r1
34	TMIAbTpl	wr13, r2, r3
35	tmiaBtvs	wr1, r4, r5
36	tmiaTTvc	wr2, r6, r7
37
38	tmovmskB	r8, wr3
39	TMOVMSKHhi	r9, wr4
40	tmovmskwls	r10, wr5
41
42	tmrc		r11, wcon
43	TMRRCge		r12, r13, wr6
44
45	torcb		r15
46	torchlt		r15
47	TORCW		r15
48
49	waccb		wr7,  wr8
50	WACCHlt		wr9,  wr10
51	WACCWGT		wr11, wr12
52
53	waddble		wr13, wr14, wr15
54	waddBUS		wr0,  wr2,  wr4
55	waddbssal	wr6,  wr8,  wr10
56	waddH		wr12, wr14, wr15
57	WADDHUSLE	wr13, wr12, wr11
58	WADDHSSeq	wr10, wr9,  wr8
59	WADDWne		wr7,  wr6, wr5
60	waddwus		wr4,  wr3, wr2
61	waddwsscs	wr1,  wr0, wr15
62
63	waligni		wr3,  wr5, wr7, #5
64	WALIGNR0hs	wr9,  wr11, wr13
65	walignr1	wr7,  wr6, wr5
66	walignr2cc	wr2,  wr4, wr8
67	WALIGNR3ul	wr5,  wr9, wr1
68
69	wand		wr3, wr8, wr1
70	wandn		wr3, wr2, wr6
71
72	wavg2b		wr7, wr8, wr9
73	wavg2hle	wr10, wr11, wr12
74	wavg2brge	wr13, wr14, wr15
75	wavg2hr		wr0, wr1, wr12
76
77	wcmpeqb		wr13, wr4, wr5
78	wcmpeqheq	wr4, wr7, wr0
79	wcmpeqWlt	wr6, wr9, wr8
80
81	wcmpgtUbul	wr1, wr2, wr3
82	wcmpgtsb	wr4, wr5, wr6
83	wcmpgtuhcc	wr7, wr8, wr9
84	wcmpgtsh	wr10, wr11, wr13
85	wcmpgtuw	wr2, wr4, wr3
86	wcmpgtswhi	wr5, wr6, wr3
87
88	wldrb		wr1, [r0, #36]
89	wldrheq		wr2, [r1, #24]!
90	wldrwne		wr3, [r2], #16
91	wldrdvs		wr4, [r3, #-332]
92	wldrw		wcssf, [r1, #20]!
93
94	wmacu		wr4, wr7, wr9
95	wmacscs		wr8, wr10, wr14
96	wmacuzal	wr15, wr12, wr11
97	wmacsz		wr3, wr8, wr10
98
99	wmaddu		wr12, wr11, wr7
100	wmaddsgt	wr5, wr3, wr15
101
102	wmaxubhs	wr3, wr4, wr5
103	wmaxsb		wr3, wr4, wr5
104	wmaxuhpl	wr3, wr4, wr5
105	wmaxshmi	wr3, wr4, wr5
106	wmaxuwge	wr3, wr4, wr5
107	wmaxswle	wr3, wr4, wr5
108
109	wminubul	wr4, wr12, wr10
110	wminsb		wr4, wr12, wr10
111	wminuhvc	wr4, wr12, wr10
112	wminsh		wr4, wr12, wr10
113	wminuw		wr4, wr12, wr10
114	wminswcc	wr4, wr12, wr10
115
116	wmoveq		wr3, wr4
117
118	wmulum		wr2, wr1, wr8
119	wmulsm		wr2, wr1, wr8
120	wmulul		wr2, wr1, wr8
121	wmulslle	wr2, wr1, wr8
122
123	woreq		wr11, wr8, wr14
124
125	wpackhuseq	wr0, wr1, wr3
126	wpackwus	wr0, wr1, wr3
127	wpackdusal	wr0, wr1, wr3
128	wpackhsshi	wr0, wr1, wr3
129	wpackwss	wr0, wr1, wr3
130	wpackdsseq	wr0, wr1, wr3
131
132	wrorh		wr4, wr5, wr6
133	wrorwmi		wr4, wr5, wr6
134	wrord		wr4, wr5, wr6
135	wrorhg		wr9, wr10, wcgr0
136	wrorwgge	wr9, wr10, wcgr1
137	wrordg		wr9, wr10, wcgr2
138
139	wsadb		wr2, wr0, wr10
140	wsadhal		wr2, wr0, wr10
141	wsadbz		wr2, wr0, wr10
142	wsadhzle	wr2, wr0, wr10
143
144	wshufheq	wr4, wr9, #251
145
146	wsllh		wr2, wr9, wr4
147	wsllw		wr2, wr9, wr4
148	wslldeq		wr2, wr9, wr4
149	wsllhgeq	wr2, wr9, wcgr3
150	wsllwgvc	wr2, wr9, wcgr2
151	wslldg		wr2, wr9, wcgr1
152
153	wsrah		wr1, wr5, wr7
154	wsraw		wr1, wr5, wr7
155	wsradeq		wr1, wr5, wr7
156	wsrahg		wr1, wr5, wcgr3
157	wsrawgmi	wr1, wr5, wcgr0
158	wsradg		wr1, wr5, wcgr1
159
160	wsrlh		wr1, wr5, wr7
161	wsrlw		wr1, wr5, wr7
162	wsrldeq		wr1, wr5, wr7
163	wsrlhg		wr1, wr5, wcgr3
164	wsrlwgmi	wr1, wr5, wcgr0
165	wsrldg		wr1, wr5, wcgr1
166
167	wstrb		wr1, [r1, #0xFF]
168	wstrh		wr1, [r1, #-0xFF]!
169	wstrw		wr1, [r1], #4
170	wstrd		wr1, [r1, #0x3FC]
171	wstrw		wcasf, [r1], #300
172
173	wsubbusul	wr1, wr3, wr14
174	wsubhus		wr1, wr3, wr14
175	wsubwusul	wr1, wr3, wr14
176	wsubbssul	wr1, wr3, wr14
177	wsubhssul	wr1, wr3, wr14
178	wsubwss		wr1, wr3, wr14
179
180	wunpckehub	wr3, wr6
181	wunpckehuhmi	wr3, wr6
182	wunpckehuw	wr3, wr6
183	wunpckehsb	wr3, wr6
184	wunpckehsh	wr3, wr6
185	wunpckehsweq	wr3, wr6
186
187	wunpckihb	wr5, wr12, wr10
188	wunpckihhhi	wr5, wr12, wr10
189	wunpckihw	wr5, wr12, wr10
190
191	wunpckelub	wr3, wr5
192	wunpckeluhne	wr3, wr5
193	wunpckeluw	wr3, wr5
194	wunpckelsbgt	wr3, wr5
195	wunpckelsh	wr3, wr5
196	wunpckelsw	wr3, wr5
197
198	wunpckilb	wr4, wr5, wr10
199	wunpckilh	wr4, wr5, wr10
200	wunpckilweq	wr4, wr5, wr10
201
202	wxorne		wr3, wr4, wr5
203
204	wzeroge		wr7
205
206	tmcr		wcgr0, r0
207	tmrc		r1, wcgr2
208
209	@ a.out-required section size padding
210	nop
211