Changeset 95441 in vbox for trunk/src/VBox/VMM/include/IEMOpHlp.h
- Timestamp:
- Jun 29, 2022 10:40:14 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 152046
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/IEMOpHlp.h
r94768 r95441 420 420 /** 421 421 * Done decoding VEX instruction, raise \#UD exception if any lock, rex, repz, 422 * repnz or size prefixes are present, if in real or v8086 mode, or if the 423 * a_fFeature is present in the guest CPU. 424 */ 425 #define IEMOP_HLP_DONE_VEX_DECODING_EX(a_fFeature) \ 426 do \ 427 { \ 428 if (RT_LIKELY( !( pVCpu->iem.s.fPrefixes \ 429 & (IEM_OP_PRF_LOCK | IEM_OP_PRF_REPZ | IEM_OP_PRF_REPNZ | IEM_OP_PRF_SIZE_OP | IEM_OP_PRF_REX)) \ 430 && !IEM_IS_REAL_OR_V86_MODE(pVCpu) \ 431 && IEM_GET_GUEST_CPU_FEATURES(pVCpu)->a_fFeature)) \ 432 { /* likely */ } \ 433 else \ 434 return IEMOP_RAISE_INVALID_LOCK_PREFIX(); \ 435 } while (0) 436 437 /** 438 * Done decoding VEX instruction, raise \#UD exception if any lock, rex, repz, 422 439 * repnz or size prefixes are present, or if in real or v8086 mode. 423 440 */
Note:
See TracChangeset
for help on using the changeset viewer.