Skip to content

Commit

Permalink
src:fix: MFENCE missing from the list of serializing instructions. Close
Browse files Browse the repository at this point in the history
  • Loading branch information
OleksiiOleksenko committed Dec 26, 2020
1 parent 4db6c08 commit 46141ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SpecFuzzPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1618,6 +1618,7 @@ auto X86SpecFuzzPass::isAcquireOrRelease(unsigned Opcode) -> bool {
auto X86SpecFuzzPass::isExplicitlySerializing(unsigned Opcode) -> bool {
switch (Opcode) {
case X86::LFENCE:
case X86::MFENCE:
case X86::CPUID:
case X86::TRAP:
return true;
Expand Down

0 comments on commit 46141ef

Please sign in to comment.