3 .macro addb_like_test mnem
5 \mnem\().f r0,r0,r1,16,8,2
6 \mnem\().f.sx r0,r0,r1,8,24,6
9 .macro andb_like_test mnem, size
10 \mnem r0,r0,r1,0,8,\size
11 \mnem\().f r0,r0,r1,16,8,\size
14 .macro notb_like_test mnem
16 \mnem\().f r0,r1,16,16
19 .macro div_like_test mnem
21 \mnem\().f r0,r0,0xf,8
25 \mnem r2,r2,r0,8,8,0,1,3
26 \mnem r2,r2,r0,8,8,1,1
31 .macro calcsxd_test mnem
32 \mnem\() r0, r0, r0, 1
33 \mnem\().f r1, r1, r0, 2
34 \mnem\() r2, r2, r3, 4
35 \mnem\().f r0, r0, r0, 8
36 \mnem\() r3, r3, r0, 16
37 \mnem\().f r0, r0, r0, 32
38 \mnem\() r0, r0, r1, 64
39 \mnem\().f r2, r2, r0, 128
40 \mnem\() r1, r1, r2, 256
43 .macro calcbsxdkey_test mnem
50 .macro mxb_like_test mnem
51 \mnem\() r0, r1, 0, 1, 2
52 \mnem\() r0, r1, 7, 8, 7
53 \mnem\() r0, r1, 7, 7, 8
54 \mnem\().s r2, r3, 1, 4, 3, 2
55 \mnem\().s r2, r3, 7, 8, 7, 7
56 \mnem\().s r2, r3, 7, 7, 8, 7
57 \mnem\().s r2, r3, 7, 8, 7, 8
60 .macro addsubl_test mnem
62 \mnem\() r2, r2, 32767
63 \mnem\() r5, r5, -32768
64 \mnem\().f r10, r10, 0
65 \mnem\().f r11, r11, 1
66 \mnem\().f r12, r12, -1
69 .macro andorxorl_test mnem
72 \mnem\() r2, r2, 65535
73 \mnem\().f r10, r10, 0
74 \mnem\().f r11, r11, 1
75 \mnem\().f r12, r12, 65535
78 .macro andorab_test mnem
80 \mnem\() r1, r2, 15, 16
81 \mnem\().f r2, r3, 0, 1
82 \mnem\().f r12, r13, 16, 16
83 \mnem\() r0, r0, r0, 0, 1
84 \mnem\() r1, r1, r2, 15, 16
85 \mnem\().f r2, r2, r3, 0, 1
86 \mnem\().f r12, r12, r13, 16, 16
94 andb_like_test andb, 2
95 andb_like_test xorb, 2
97 andb_like_test shlb, 2
98 andb_like_test shrb, 2
99 andb_like_test fxorb, 8
100 andb_like_test wxorb, 16
115 calcbsxdkey_test calcbsd
116 calcbsxdkey_test calcbxd
117 calcbsxdkey_test calckey
118 calcbsxdkey_test calcxkey
146 .macro csma_like_test mnem
148 \mnem\() r0,0x12345678,r20
149 \mnem\() r6,r7,0xffffffff
150 \mnem\() r8,0xffffffff,0xffffffff
152 \mnem\() 0,0xffffffff,r10
153 \mnem\() 0,r12,0xffffffff
155 \mnem\() r3,0x12345678,0x2
157 \mnem\() 0,0xffffffff,0x1
163 csma_like_test cbba.f
167 csma_like_test utf8.f
169 csma_like_test addf.f
171 .macro zncv_test mnem
173 \mnem\() r0,0x12345678,r20
174 \mnem\() r6,r7,0xffffffff
175 \mnem\() r8,0xffffffff,0xffffffff
177 \mnem\() 0,0xffffffff,r10
178 \mnem\() 0,r12,0xffffffff
180 \mnem\() r3,0x12345678,0x2
182 \mnem\() 0,0xffffffff,0x1
184 \mnem\() 0,0xffffffff,-1
195 hash r1, r2, r3, 1, 0, 0, 0
196 hash r12, r13, r14, 32, 7, 1, 1
198 .macro hash_p_test mnem
199 \mnem\() r1, r2, r3, 1, 1, 0, 0
200 \mnem\() r12, r13, r14, 32, 8, 3, 1
208 e4by r0,r1,r2,0,0,0,4
209 e4by r7,r12,r13,1,2,3,4
210 e4by r20,r12,r13,7,7,7,7
212 .macro ldbit_test mnem
216 \mnem\() r3,[0xffffffff,1]
217 \mnem\() r4,[0x12345678]
219 \mnem\() r8,[r9,0xffffffff]
220 \mnem\() r10,[0xffffffff,r11]
224 ldbit_test ldbit.di.cl
225 ldbit_test ldbit.x2.di
226 ldbit_test ldbit.x2.di.cl
227 ldbit_test ldbit.x4.di
228 ldbit_test ldbit.x4.di.cl