Changeset 62411 in vbox
- Timestamp:
- Jul 21, 2016 8:48:14 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 108961
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllAImplC.cpp
r62408 r62411 1141 1141 *pu64RAX = Result.s.Lo; 1142 1142 *pu64RDX = Result.s.Hi; 1143 /** @todo research the undefined MUL flags. */ 1143 1144 /* MUL EFLAGS according to Skylake (similar to IMUL). */ 1145 *pfEFlags &= ~(X86_EFL_SF | X86_EFL_CF | X86_EFL_OF | X86_EFL_AF | X86_EFL_ZF | X86_EFL_PF); 1146 if (Result.s.Lo & RT_BIT_64(63)) 1147 *pfEFlags |= X86_EFL_SF; 1148 *pfEFlags |= g_afParity[Result.s.Lo & 0xff]; /* (Skylake behaviour) */ 1149 if (Result.s.Hi != 0) 1150 *pfEFlags |= X86_EFL_CF | X86_EFL_OF; 1144 1151 return 0; 1145 1152 }
Note:
See TracChangeset
for help on using the changeset viewer.