Changeset 101911 in vbox for trunk/src/VBox/VMM/include/IEMN8veRecompiler.h
- Timestamp:
- Nov 7, 2023 1:29:56 AM (17 months ago)
- svn:sync-xref-src-repo-rev:
- 160007
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/IEMN8veRecompiler.h
r101906 r101911 3130 3130 # elif defined(RT_ARCH_ARM64) 3131 3131 uint32_t * const pu32CodeBuf = pReNative->pInstrBuf; 3132 Assert((uint32_t)RT_ABS((int32_t)(offTarget - offFixup)) < RT_BIT_32(18)); /* off by one for negative jumps, but not relevant here */ 3133 pu32CodeBuf[offFixup] = (pu32CodeBuf[offFixup] & ~((RT_BIT_32(19) - 1U) << 5)) 3134 | (((offTarget - offFixup) & (RT_BIT_32(19) - 1U)) << 5); 3132 3133 int32_t const offDisp = offTarget - offFixup; 3134 Assert(offDisp >= -262144 && offDisp < 262144); 3135 Assert((pu32CodeBuf[offFixup] & UINT32_C(0xff000000)) == UINT32_C(0x54000000)); /* B.COND + BC.COND */ 3136 3137 pu32CodeBuf[offFixup] = (pu32CodeBuf[offFixup] & UINT32_C(0xff00001f)) 3138 | (((uint32_t)offDisp & UINT32_C(0x0007ffff)) << 5); 3135 3139 3136 3140 # endif
Note:
See TracChangeset
for help on using the changeset viewer.