Changeset 103828 in vbox for trunk/src/VBox/VMM/VMMAll/target-x86
- Timestamp:
- Mar 13, 2024 2:01:20 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veEmit-x86.h
r103801 r103828 207 207 ) 208 208 { 209 #ifdef IEMNATIVE_WITH_ LIVENESS_ANALYSIS210 if (1) /** @todo check if all bits are clobbered.*/209 #ifdef IEMNATIVE_WITH_EFLAGS_SKIPPING 210 /** @todo */ 211 211 #endif 212 212 { … … 276 276 #endif 277 277 IEMNATIVE_ASSERT_INSTR_BUF_ENSURE(pReNative, off); 278 279 # ifdef IEMNATIVE_STRICT_EFLAGS_SKIPPING 280 off = iemNativeEmitStoreImmToVCpuU32(pReNative, off, 0, RT_UOFFSETOF(VMCPU, iem.s.fSkippingEFlags)); 281 # endif 278 282 } 279 283 return off; … … 294 298 ) 295 299 { 296 #ifdef IEMNATIVE_WITH_LIVENESS_ANALYSIS 297 if (1) /** @todo check if all bits are clobbered. */ 298 #endif 299 { 300 #ifdef IEMNATIVE_WITH_EFLAGS_SKIPPING 301 /* 302 * See if we can skip this wholesale. 303 */ 304 PCIEMLIVENESSENTRY const pLivenessEntry = &pReNative->paLivenessEntries[pReNative->idxCurCall]; 305 if (IEMLIVENESS_STATE_ARE_STATUS_EFL_TO_BE_CLOBBERED(pLivenessEntry)) 306 { 307 STAM_COUNTER_INC(&pReNative->pVCpu->iem.s.StatNativeEflArithmeticSkipped); 308 # ifdef IEMNATIVE_STRICT_EFLAGS_SKIPPING 309 off = iemNativeEmitOrImmIntoVCpuU32(pReNative, off, X86_EFL_STATUS_BITS, RT_UOFFSETOF(VMCPU, iem.s.fSkippingEFlags)); 310 # endif 311 } 312 else 313 #endif 314 { 315 #ifdef IEMNATIVE_STRICT_EFLAGS_SKIPPING 316 uint32_t fSkipped = 0; 317 #endif 300 318 #ifdef RT_ARCH_AMD64 301 319 /* … … 446 464 iemNativeVarRegisterRelease(pReNative, idxVarEfl); 447 465 iemNativeRegFreeTmp(pReNative, idxTmpReg); 466 448 467 #else 449 468 # error "port me" 450 469 #endif 451 470 IEMNATIVE_ASSERT_INSTR_BUF_ENSURE(pReNative, off); 471 472 #ifdef IEMNATIVE_STRICT_EFLAGS_SKIPPING 473 off = iemNativeEmitStoreImmToVCpuU32(pReNative, off, fSkipped, RT_UOFFSETOF(VMCPU, iem.s.fSkippingEFlags)); 474 #endif 452 475 } 453 476 return off;
Note:
See TracChangeset
for help on using the changeset viewer.