• Home
  • Raw
  • Download

Lines Matching refs:Disp

124 #define TestLeaBaseDisp(Base, BaseValue, Disp, Dst)                            \  in TEST_F()  argument
134 Address(GPRRegister::Encoded_Reg_##Base, Disp, \ in TEST_F()
138 ASSERT_EQ(test.Base() + (Disp), test.Dst()) << TestString << " with Disp " \ in TEST_F()
139 << Disp; \ in TEST_F()
143 #define TestLeaIndex32bitDisp(Index, IndexValue, Disp, Dst0, Dst1, Dst2, Dst3) \ in TEST_F() argument
151 Address(GPRRegister::Encoded_Reg_##Index, Traits::TIMES_1, Disp, \ in TEST_F()
154 Address(GPRRegister::Encoded_Reg_##Index, Traits::TIMES_2, Disp, \ in TEST_F()
157 Address(GPRRegister::Encoded_Reg_##Index, Traits::TIMES_4, Disp, \ in TEST_F()
160 Address(GPRRegister::Encoded_Reg_##Index, Traits::TIMES_8, Disp, \ in TEST_F()
164 ASSERT_EQ((test.Index() << Traits::TIMES_1) + (Disp), test.Dst0()) \ in TEST_F()
165 << TestString << " " << Disp; \ in TEST_F()
166 ASSERT_EQ((test.Index() << Traits::TIMES_2) + (Disp), test.Dst1()) \ in TEST_F()
167 << TestString << " " << Disp; \ in TEST_F()
168 ASSERT_EQ((test.Index() << Traits::TIMES_4) + (Disp), test.Dst2()) \ in TEST_F()
169 << TestString << " " << Disp; \ in TEST_F()
170 ASSERT_EQ((test.Index() << Traits::TIMES_8) + (Disp), test.Dst3()) \ in TEST_F()
171 << TestString << " " << Disp; \ in TEST_F()
175 #define TestLeaBaseIndexDisp(Base, BaseValue, Index, IndexValue, Disp, Dst0, \ in TEST_F() argument
193 GPRRegister::Encoded_Reg_##Index, Traits::TIMES_1, Disp, \ in TEST_F()
197 GPRRegister::Encoded_Reg_##Index, Traits::TIMES_2, Disp, \ in TEST_F()
201 GPRRegister::Encoded_Reg_##Index, Traits::TIMES_4, Disp, \ in TEST_F()
205 GPRRegister::Encoded_Reg_##Index, Traits::TIMES_8, Disp, \ in TEST_F()
213 ASSERT_EQ(test.Base() + (ExpectedIndexValue << Traits::TIMES_1) + (Disp), \ in TEST_F()
215 << TestString << " " << Disp; \ in TEST_F()
216 ASSERT_EQ(test.Base() + (ExpectedIndexValue << Traits::TIMES_2) + (Disp), \ in TEST_F()
218 << TestString << " " << Disp; \ in TEST_F()
219 ASSERT_EQ(test.Base() + (ExpectedIndexValue << Traits::TIMES_4) + (Disp), \ in TEST_F()
221 << TestString << " " << Disp; \ in TEST_F()
222 ASSERT_EQ(test.Base() + (ExpectedIndexValue << Traits::TIMES_8) + (Disp), \ in TEST_F()
224 << TestString << " " << Disp; \ in TEST_F()
228 for (const int32_t Disp : in TEST_F()
230 TestLeaBaseDisp(eax, 0x10000Fu, Disp, ebx); in TEST_F()
231 TestLeaBaseDisp(ebx, 0x20000Fu, Disp, ecx); in TEST_F()
232 TestLeaBaseDisp(ecx, 0x30000Fu, Disp, edx); in TEST_F()
233 TestLeaBaseDisp(edx, 0x40000Fu, Disp, esi); in TEST_F()
234 TestLeaBaseDisp(esi, 0x50000Fu, Disp, edi); in TEST_F()
235 TestLeaBaseDisp(edi, 0x60000Fu, Disp, eax); in TEST_F()
236 TestLeaBaseDisp(esp, 0x11000Fu, Disp, eax); in TEST_F()
237 TestLeaBaseDisp(ebp, 0x22000Fu, Disp, ecx); in TEST_F()
242 for (const int32_t Disp : in TEST_F()
244 TestLeaIndex32bitDisp(eax, 0x2000u, Disp, ebx, ecx, edx, esi); in TEST_F()
245 TestLeaIndex32bitDisp(ebx, 0x4000u, Disp, ecx, edx, esi, edi); in TEST_F()
246 TestLeaIndex32bitDisp(ecx, 0x6000u, Disp, edx, esi, edi, eax); in TEST_F()
247 TestLeaIndex32bitDisp(edx, 0x8000u, Disp, esi, edi, eax, ebx); in TEST_F()
248 TestLeaIndex32bitDisp(esi, 0xA000u, Disp, edi, eax, ebx, ecx); in TEST_F()
249 TestLeaIndex32bitDisp(edi, 0xC000u, Disp, eax, ebx, ecx, edx); in TEST_F()
252 for (const int32_t Disp : in TEST_F()
254 TestLeaBaseIndexDisp(eax, 0x100000u, ebx, 0x600u, Disp, ecx, edx, esi, edi); in TEST_F()
255 TestLeaBaseIndexDisp(ebx, 0x200000u, ecx, 0x500u, Disp, edx, esi, edi, eax); in TEST_F()
256 TestLeaBaseIndexDisp(ecx, 0x300000u, edx, 0x400u, Disp, esi, edi, eax, ebx); in TEST_F()
257 TestLeaBaseIndexDisp(edx, 0x400000u, esi, 0x300u, Disp, edi, eax, ebx, ecx); in TEST_F()
258 TestLeaBaseIndexDisp(esi, 0x500000u, edi, 0x200u, Disp, eax, ebx, ecx, edx); in TEST_F()
259 TestLeaBaseIndexDisp(edi, 0x600000u, eax, 0x100u, Disp, ebx, ecx, edx, esi); in TEST_F()
262 TestLeaBaseIndexDisp(esp, 0, ebx, 0x6000u, Disp, ecx, edx, esi, edi); in TEST_F()
263 TestLeaBaseIndexDisp(esp, 0, ecx, 0x5000u, Disp, edx, esi, edi, eax); in TEST_F()
264 TestLeaBaseIndexDisp(esp, 0, edx, 0x4000u, Disp, esi, edi, eax, ebx); in TEST_F()
265 TestLeaBaseIndexDisp(esp, 0, esi, 0x3000u, Disp, edi, eax, ebx, ecx); in TEST_F()
266 TestLeaBaseIndexDisp(esp, 0, edi, 0x2000u, Disp, eax, ebx, ecx, edx); in TEST_F()
267 TestLeaBaseIndexDisp(esp, 0, eax, 0x1000u, Disp, ebx, ecx, edx, esi); in TEST_F()
269 TestLeaBaseIndexDisp(ebp, 0, ebx, 0x6000u, Disp, ecx, edx, esi, edi); in TEST_F()
270 TestLeaBaseIndexDisp(ebp, 0, ecx, 0x5000u, Disp, edx, esi, edi, eax); in TEST_F()
271 TestLeaBaseIndexDisp(ebp, 0, edx, 0x4000u, Disp, esi, edi, eax, ebx); in TEST_F()
272 TestLeaBaseIndexDisp(ebp, 0, esi, 0x3000u, Disp, edi, eax, ebx, ecx); in TEST_F()
273 TestLeaBaseIndexDisp(ebp, 0, edi, 0x2000u, Disp, eax, ebx, ecx, edx); in TEST_F()
274 TestLeaBaseIndexDisp(ebp, 0, eax, 0x1000u, Disp, ebx, ecx, edx, esi); in TEST_F()
276 TestLeaBaseIndexDisp(eax, 0x1000000u, ebp, 0, Disp, ecx, edx, esi, edi); in TEST_F()
277 TestLeaBaseIndexDisp(ebx, 0x2000000u, ebp, 0, Disp, edx, esi, edi, eax); in TEST_F()
278 TestLeaBaseIndexDisp(ecx, 0x3000000u, ebp, 0, Disp, esi, edi, eax, ebx); in TEST_F()
279 TestLeaBaseIndexDisp(edx, 0x4000000u, ebp, 0, Disp, edi, eax, ebx, ecx); in TEST_F()
280 TestLeaBaseIndexDisp(esi, 0x5000000u, ebp, 0, Disp, eax, ebx, ecx, edx); in TEST_F()
281 TestLeaBaseIndexDisp(edi, 0x6000000u, ebp, 0, Disp, ebx, ecx, edx, esi); in TEST_F()
283 TestLeaBaseIndexDisp(esp, 0, ebp, 0, Disp, ebx, ecx, edx, esi); in TEST_F()