Changeset 106113 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Sep 21, 2024 12:01:43 AM (5 months ago)
- svn:sync-xref-src-repo-rev:
- 164890
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/IEMN8veRecompiler.h
r106101 r106113 1822 1822 IEMNATIVEGSTREGUSE enmIntendedUse = kIemNativeGstRegUse_ReadOnly, 1823 1823 bool fNoVolatileRegs = false, bool fSkipLivenessAssert = false); 1824 #if defined(IEMNATIVE_WITH_LIVENESS_ANALYSIS) && defined(VBOX_STRICT) 1825 DECL_HIDDEN_THROW(uint8_t) iemNativeRegAllocTmpForGuestEFlags(PIEMRECOMPILERSTATE pReNative, uint32_t *poff, 1826 IEMNATIVEGSTREGUSE enmIntendedUse, uint64_t fRead, 1827 uint64_t fWrite = 0, uint64_t fPotentialCall = 0); 1828 #else 1829 DECL_FORCE_INLINE_THROW(uint8_t) 1830 iemNativeRegAllocTmpForGuestEFlags(PIEMRECOMPILERSTATE pReNative, uint32_t *poff, IEMNATIVEGSTREGUSE enmIntendedUse, 1831 uint64_t fRead, uint64_t fWrite = 0, uint64_t fPotentialCall = 0) 1832 { 1833 RT_NOREF(fRead, fWrite, fPotentialCall); 1834 return iemNativeRegAllocTmpForGuestReg(pReNative, poff, kIemNativeGstReg_EFlags, enmIntendedUse); 1835 } 1836 #endif 1837 1824 1838 DECL_HIDDEN_THROW(uint8_t) iemNativeRegAllocTmpForGuestRegIfAlreadyPresent(PIEMRECOMPILERSTATE pReNative, uint32_t *poff, 1825 1839 IEMNATIVEGSTREG enmGstReg); 1840 #if defined(IEMNATIVE_WITH_LIVENESS_ANALYSIS) && defined(VBOX_STRICT) 1841 DECL_HIDDEN_THROW(uint8_t) iemNativeRegAllocTmpForGuestEFlagsIfAlreadyPresent(PIEMRECOMPILERSTATE pReNative, uint32_t *poff, 1842 uint64_t fRead, uint64_t fWrite = 0); 1843 #else 1844 DECL_FORCE_INLINE_THROW(uint8_t) 1845 iemNativeRegAllocTmpForGuestEFlagsIfAlreadyPresent(PIEMRECOMPILERSTATE pReNative, uint32_t *poff, 1846 uint64_t fRead, uint64_t fWrite = 0) 1847 { 1848 RT_NOREF(fRead, fWrite); 1849 return iemNativeRegAllocTmpForGuestRegIfAlreadyPresent(pReNative, poff, kIemNativeGstReg_EFlags); 1850 } 1851 #endif 1826 1852 1827 1853 DECL_HIDDEN_THROW(uint32_t) iemNativeRegAllocArgs(PIEMRECOMPILERSTATE pReNative, uint32_t off, uint8_t cArgs); … … 2352 2378 } 2353 2379 2354 2355 2380 # ifdef VBOX_STRICT 2381 2356 2382 /** For assertions only - caller checks that idxCurCall isn't zero. */ 2357 2383 DECL_FORCE_INLINE(uint32_t) … … 2360 2386 return iemNativeLivenessGetStateByGstReg(&pReNative->paLivenessEntries[pReNative->idxCurCall - 1], enmGstReg); 2361 2387 } 2388 2389 2390 /** For assertions only - caller checks that idxCurCall isn't zero. */ 2391 DECL_FORCE_INLINE(uint32_t) 2392 iemNativeLivenessGetPrevStateByGstRegEx(PIEMRECOMPILERSTATE pReNative, IEMNATIVEGSTREG enmGstReg) 2393 { 2394 return iemNativeLivenessGetStateByGstRegEx(&pReNative->paLivenessEntries[pReNative->idxCurCall - 1], enmGstReg); 2395 } 2396 2362 2397 # endif /* VBOX_STRICT */ 2363 2364 2398 #endif /* IEMNATIVE_WITH_LIVENESS_ANALYSIS */ 2365 2399
Note:
See TracChangeset
for help on using the changeset viewer.