1 # Intel(r) Wireless MMX(tm) technology testcase for TINSR
3 # as: -mcpu=xscale+iwmmxt
5 .include "testutils.inc"
11 # Enable access to CoProcessors 0 & 1 before
12 # we attempt these instructions.
15 mcr p15, 0, r1, cr15, cr1, 0
17 # Test Byte Wide Insertion
19 mvi_h_gr r0, 0x12345678
20 mvi_h_gr r1, 0x9abcdef0
21 mvi_h_gr r2, 0x111111ff
29 test_h_gr r0, 0xff345678
30 test_h_gr r1, 0x9abcdef0
31 test_h_gr r2, 0x111111ff
33 # Test Half Word Wide Insertion
35 mvi_h_gr r0, 0x12345678
36 mvi_h_gr r1, 0x9abcdef0
37 mvi_h_gr r2, 0x111111ff
45 test_h_gr r0, 0x12345678
46 test_h_gr r1, 0x9abc11ff
47 test_h_gr r2, 0x111111ff
49 # Test Word Wide Insertion
51 mvi_h_gr r0, 0x12345678
52 mvi_h_gr r1, 0x9abcdef0
53 mvi_h_gr r2, 0x111111ff
61 test_h_gr r0, 0x12345678
62 test_h_gr r1, 0x111111ff
63 test_h_gr r2, 0x111111ff