Changeset 106380 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Oct 16, 2024 1:47:09 PM (4 months ago)
- svn:sync-xref-src-repo-rev:
- 165193
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllN8veRecompiler.cpp
r106376 r106380 3468 3468 * @returns The host register number; throws VBox status code on failure, 3469 3469 * so no need to check the return value. 3470 * @param pReNative The native recompile state. 3471 * @param poff Pointer to the variable with the code buffer position. 3472 * This will be update if we need to move a variable from 3473 * register to stack in order to satisfy the request. 3474 * @param a_fPreferVolatile Whether to prefer volatile over non-volatile 3475 * registers (@c true, default) or the other way around 3476 * (@c false, for iemNativeRegAllocTmpForGuestReg()). 3470 * @param pReNative The native recompile state. 3471 * @param poff Pointer to the variable with the code buffer 3472 * position. This will be update if we need to move 3473 * a variable from register to stack in order to 3474 * satisfy the request. 3475 * @tparam a_fPreferVolatile Whether to prefer volatile over non-volatile 3476 * registers (@c true, default) or the other way 3477 * around (@c false, for 3478 * iemNativeRegAllocTmpForGuestReg()). 3477 3479 * 3478 3480 * @note Must not modify the host status flags! … … 3530 3532 * @returns The host register number; throws VBox status code on failure, 3531 3533 * so no need to check the return value. 3532 * @param pReNative The native recompile state. 3533 * @param poff Pointer to the variable with the code buffer position. 3534 * This will be update if we need to move a variable from 3535 * register to stack in order to satisfy the request. 3536 * @param fRegMask Mask of acceptable registers. 3537 * @param fPreferVolatile Whether to prefer volatile over non-volatile 3538 * registers (@c true, default) or the other way around 3539 * (@c false, for iemNativeRegAllocTmpForGuestReg()). 3534 * @param pReNative The native recompile state. 3535 * @param poff Pointer to the variable with the code buffer 3536 * position. This will be update if we need to move 3537 * a variable from register to stack in order to 3538 * satisfy the request. 3539 * @param fRegMask Mask of acceptable registers. 3540 * @tparam a_fPreferVolatile Whether to prefer volatile over non-volatile 3541 * registers (@c true, default) or the other way 3542 * around (@c false, for 3543 * iemNativeRegAllocTmpForGuestReg()). 3540 3544 */ 3541 3545 template<bool const a_fPreferVolatile> … … 3850 3854 * @returns The host register number; throws VBox status code on failure, so no 3851 3855 * need to check the return value. 3852 * @param pReNative The native recompile state. 3853 * @param poff Pointer to the variable with the code buffer 3854 * position. This will be update if we need to move a 3855 * variable from register to stack in order to satisfy 3856 * the request. 3857 * @param enmGstReg The guest register that will is to be updated. 3858 * @param a_enmIntendedUse How the caller will be using the host register. 3859 * @param a_fNonVolatileRegs Set if no volatile register allowed, clear if any 3860 * register is okay (default). The ASSUMPTION here is 3861 * that the caller has already flushed all volatile 3862 * registers, so this is only applied if we allocate a 3863 * new register. 3856 * @param pReNative The native recompile state. 3857 * @param poff Pointer to the variable with the code buffer 3858 * position. This will be update if we need to move 3859 * a variable from register to stack in order to 3860 * satisfy the request. 3861 * @param enmGstReg The guest register that will is to be updated. 3862 * @tparam a_enmIntendedUse How the caller will be using the host register. 3863 * @tparam a_fNonVolatileRegs Set if no volatile register allowed, clear if 3864 * any register is okay (default). 3865 * The ASSUMPTION here is that the caller has 3866 * already flushed all volatile registers, 3867 * so this is only applied if we allocate a new 3868 * register. 3864 3869 * @sa iemNativeRegAllocTmpForGuestRegIfAlreadyPresent 3865 3870 */
Note:
See TracChangeset
for help on using the changeset viewer.