1 @ LDC group relocation tests.
5 @ LDC/LDCL/LDC2/LDC2L/STC/STCL/STC2/STC2L
7 .macro ldctest load store
9 \load 0, c0, [r0, #:pc_g0:(f + 0x214)]
10 \load 0, c0, [r0, #:pc_g1:(f + 0x214)]
11 \load 0, c0, [r0, #:pc_g2:(f + 0x214)]
13 \load 0, c0, [r0, #:sb_g0:(f + 0x214)]
14 \load 0, c0, [r0, #:sb_g1:(f + 0x214)]
15 \load 0, c0, [r0, #:sb_g2:(f + 0x214)]
17 \store 0, c0, [r0, #:pc_g0:(f + 0x214)]
18 \store 0, c0, [r0, #:pc_g1:(f + 0x214)]
19 \store 0, c0, [r0, #:pc_g2:(f + 0x214)]
21 \store 0, c0, [r0, #:sb_g0:(f + 0x214)]
22 \store 0, c0, [r0, #:sb_g1:(f + 0x214)]
23 \store 0, c0, [r0, #:sb_g2:(f + 0x214)]
25 \load 0, c0, [r0, #:pc_g0:(f - 0x214)]
26 \load 0, c0, [r0, #:pc_g1:(f - 0x214)]
27 \load 0, c0, [r0, #:pc_g2:(f - 0x214)]
29 \load 0, c0, [r0, #:sb_g0:(f - 0x214)]
30 \load 0, c0, [r0, #:sb_g1:(f - 0x214)]
31 \load 0, c0, [r0, #:sb_g2:(f - 0x214)]
33 \store 0, c0, [r0, #:pc_g0:(f - 0x214)]
34 \store 0, c0, [r0, #:pc_g1:(f - 0x214)]
35 \store 0, c0, [r0, #:pc_g2:(f - 0x214)]
37 \store 0, c0, [r0, #:sb_g0:(f - 0x214)]
38 \store 0, c0, [r0, #:sb_g1:(f - 0x214)]
39 \store 0, c0, [r0, #:sb_g2:(f - 0x214)]
48 @ LDFS/STFS/LDFD/STFD/LDFE/STFE/LDFP/STFP
52 .macro fpa_test load store
54 \load f0, [r0, #:pc_g0:(f + 0x214)]
55 \load f0, [r0, #:pc_g1:(f + 0x214)]
56 \load f0, [r0, #:pc_g2:(f + 0x214)]
58 \load f0, [r0, #:sb_g0:(f + 0x214)]
59 \load f0, [r0, #:sb_g1:(f + 0x214)]
60 \load f0, [r0, #:sb_g2:(f + 0x214)]
62 \store f0, [r0, #:pc_g0:(f + 0x214)]
63 \store f0, [r0, #:pc_g1:(f + 0x214)]
64 \store f0, [r0, #:pc_g2:(f + 0x214)]
66 \store f0, [r0, #:sb_g0:(f + 0x214)]
67 \store f0, [r0, #:sb_g1:(f + 0x214)]
68 \store f0, [r0, #:sb_g2:(f + 0x214)]
70 \load f0, [r0, #:pc_g0:(f - 0x214)]
71 \load f0, [r0, #:pc_g1:(f - 0x214)]
72 \load f0, [r0, #:pc_g2:(f - 0x214)]
74 \load f0, [r0, #:sb_g0:(f - 0x214)]
75 \load f0, [r0, #:sb_g1:(f - 0x214)]
76 \load f0, [r0, #:sb_g2:(f - 0x214)]
78 \store f0, [r0, #:pc_g0:(f - 0x214)]
79 \store f0, [r0, #:pc_g1:(f - 0x214)]
80 \store f0, [r0, #:pc_g2:(f - 0x214)]
82 \store f0, [r0, #:sb_g0:(f - 0x214)]
83 \store f0, [r0, #:sb_g1:(f - 0x214)]
84 \store f0, [r0, #:sb_g2:(f - 0x214)]
97 .macro vfp_test load store reg
99 \load \reg, [r0, #:pc_g0:(f + 0x214)]
100 \load \reg, [r0, #:pc_g1:(f + 0x214)]
101 \load \reg, [r0, #:pc_g2:(f + 0x214)]
103 \load \reg, [r0, #:sb_g0:(f + 0x214)]
104 \load \reg, [r0, #:sb_g1:(f + 0x214)]
105 \load \reg, [r0, #:sb_g2:(f + 0x214)]
107 \store \reg, [r0, #:pc_g0:(f + 0x214)]
108 \store \reg, [r0, #:pc_g1:(f + 0x214)]
109 \store \reg, [r0, #:pc_g2:(f + 0x214)]
111 \store \reg, [r0, #:sb_g0:(f + 0x214)]
112 \store \reg, [r0, #:sb_g1:(f + 0x214)]
113 \store \reg, [r0, #:sb_g2:(f + 0x214)]
115 \load \reg, [r0, #:pc_g0:(f - 0x214)]
116 \load \reg, [r0, #:pc_g1:(f - 0x214)]
117 \load \reg, [r0, #:pc_g2:(f - 0x214)]
119 \load \reg, [r0, #:sb_g0:(f - 0x214)]
120 \load \reg, [r0, #:sb_g1:(f - 0x214)]
121 \load \reg, [r0, #:sb_g2:(f - 0x214)]
123 \store \reg, [r0, #:pc_g0:(f - 0x214)]
124 \store \reg, [r0, #:pc_g1:(f - 0x214)]
125 \store \reg, [r0, #:pc_g2:(f - 0x214)]
127 \store \reg, [r0, #:sb_g0:(f - 0x214)]
128 \store \reg, [r0, #:sb_g1:(f - 0x214)]
129 \store \reg, [r0, #:sb_g2:(f - 0x214)]
133 vfp_test flds fsts s0
137 vfp_test fldd fstd d0
141 vfp_test vldr vstr d0
143 @ CFLDRS/CFLDRD/CFLDR32/CFLDR64/CFSTRS/CFSTRD/CFSTR32/CFSTR64
147 vfp_test cfldrs cfstrs mvf0
148 vfp_test cfldrd cfstrd mvd0
149 vfp_test cfldr32 cfstr32 mvfx0
150 vfp_test cfldr64 cfstr64 mvdx0