1 # Intel(r) Wireless MMX(tm) technology testcase for TMIAxy
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 Bottom Bottom Multilply Accumulate
19 mvi_h_gr r0, 0x11223344
20 mvi_h_gr r1, 0x55667788
21 mvi_h_gr r2, 0x12345678
22 mvi_h_gr r3, 0x9abcdef0
30 test_h_gr r0, 0x05f753c4
31 test_h_gr r1, 0x55667788
32 test_h_gr r2, 0x12345678
33 test_h_gr r3, 0x9abcdef0
35 # Test Bottom Top Multilply Accumulate
37 mvi_h_gr r0, 0x11223344
38 mvi_h_gr r1, 0x55667788
39 mvi_h_gr r2, 0x12345678
40 mvi_h_gr r3, 0x9abcdef0
48 test_h_gr r0, 0xeeede364
49 test_h_gr r1, 0x55667787
50 test_h_gr r2, 0x12345678
51 test_h_gr r3, 0x9abcdef0
53 # Test Top Bottom Multilply Accumulate
55 mvi_h_gr r0, 0x11223344
56 mvi_h_gr r1, 0x55667788
57 mvi_h_gr r2, 0x12345678
58 mvi_h_gr r3, 0x9abcdef0
66 test_h_gr r0, 0x0ec85c04
67 test_h_gr r1, 0x55667788
68 test_h_gr r2, 0x12345678
69 test_h_gr r3, 0x9abcdef0
71 # Test Top Top Multilply Accumulate
73 mvi_h_gr r0, 0x11223344
74 mvi_h_gr r1, 0x55667788
75 mvi_h_gr r2, 0x12345678
76 mvi_h_gr r3, 0x9abcdef0
84 test_h_gr r0, 0x09eed974
85 test_h_gr r1, 0x55667788
86 test_h_gr r2, 0x12345678
87 test_h_gr r3, 0x9abcdef0