5 .macro load_ok_test op, type, data, value
22 #if XCHAL_UNALIGNED_LOAD_EXCEPTION
23 .macro load_unaligned_test will_trap, op, type, data, value
61 .macro load_unaligned_test will_trap, op, type, data, value
79 .macro store_ok_test op, type, value
104 #if XCHAL_UNALIGNED_STORE_EXCEPTION
105 .macro store_unaligned_test will_trap, op, nop, type, value
119 set_vector kernel, 4f
150 .macro store_unaligned_test will_trap, sop, lop, type, value
170 load_ok_test l16si, .short, 0x00001234, 0x00001234
171 load_ok_test l16si, .short, 0x000089ab, 0xffff89ab
172 load_ok_test l16ui, .short, 0x00001234, 0x00001234
173 load_ok_test l16ui, .short, 0x000089ab, 0x000089ab
174 load_ok_test l32i, .word, 0x12345678, 0x12345678
175 #if XCHAL_HAVE_RELEASE_SYNC
176 load_ok_test l32ai, .word, 0x12345678, 0x12345678
181 #if XCHAL_UNALIGNED_LOAD_HW
188 load_unaligned_test WILL_TRAP, l16si, .short, 0x00001234, 0x00001234
189 load_unaligned_test WILL_TRAP, l16si, .short, 0x000089ab, 0xffff89ab
190 load_unaligned_test WILL_TRAP, l16ui, .short, 0x00001234, 0x00001234
191 load_unaligned_test WILL_TRAP, l16ui, .short, 0x000089ab, 0x000089ab
192 load_unaligned_test WILL_TRAP, l32i, .word, 0x12345678, 0x12345678
193 #if XCHAL_HAVE_RELEASE_SYNC
194 load_unaligned_test 1, l32ai, .word, 0x12345678, 0x12345678
199 store_ok_test s16i, .short, 0x00001234
200 store_ok_test s32i, .word, 0x12345678
201 #if XCHAL_HAVE_RELEASE_SYNC
202 store_ok_test s32ri, .word, 0x12345678
207 #if XCHAL_UNALIGNED_STORE_HW
214 store_unaligned_test WILL_TRAP, s16i, l16ui, .short, 0x00001234
215 store_unaligned_test WILL_TRAP, s32i, l32i, .word, 0x12345678
216 #if XCHAL_HAVE_RELEASE_SYNC
217 store_unaligned_test 1, s32ri, l32i, .word, 0x12345678