Lines Matching refs:disp
269 uint32_t disp = target_offset - (adrp_offset & ~0xfffu); in GenNopsAndAdrpAndUse() local
271 DCHECK_ALIGNED(disp, 1u << 2); in GenNopsAndAdrpAndUse()
273 ((disp & 0xfffu) << (10 - 2)); // imm12 = ((disp & 0xfffu) >> 2) is at bit 10. in GenNopsAndAdrpAndUse()
276 (disp & 0xfffu) << 10; // imm12 = (disp & 0xfffu) is at bit 10. in GenNopsAndAdrpAndUse()
281 ((disp & 0x3000u) << (29 - 12)) | // immlo = ((disp & 0x3000u) >> 12) is at bit 29, in GenNopsAndAdrpAndUse()
282 ((disp & 0xffffc000) >> (14 - 5)) | // immhi = (disp >> 14) is at bit 5, in GenNopsAndAdrpAndUse()
284 ((disp & 0x80000000) >> (31 - 23)); // sign bit in immhi is at bit 23. in GenNopsAndAdrpAndUse()
871 [&](uint32_t adrp_offset, uint32_t disp) { in TEST_F() argument
874 /*sprel_disp_in_load_units=*/ disp >> 2, in TEST_F()
885 [&](uint32_t adrp_offset, uint32_t disp) { in TEST_F() argument
888 /*sprel_disp_in_load_units=*/ (disp) >> 3, in TEST_F()
985 [&](uint32_t adrp_offset, uint32_t disp) { in TEST_F() argument
988 /*sprel_disp_in_load_units=*/ (disp) >> 2, in TEST_F()
998 [&](uint32_t adrp_offset, uint32_t disp) { in TEST_F() argument
1001 /*sprel_disp_in_load_units=*/ (disp) >> 3, in TEST_F()