mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-14 14:58:07 +00:00
Observe the memory fencing properties of CPUID.
git-svn-id: svn://svn.valgrind.org/vex/trunk@702
This commit is contained in:
@@ -11535,6 +11535,9 @@ DisResult disInstr ( /*IN*/ Bool resteerOK,
|
||||
d->fxState[3].size = 4;
|
||||
/* execute the dirty call, side-effecting guest state */
|
||||
stmt( IRStmt_Dirty(d) );
|
||||
/* CPUID is a serialising insn. So, just in case someone is
|
||||
using it as a memory fence ... */
|
||||
stmt( IRStmt_MFence() );
|
||||
DIP("cpuid\n");
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user