28a29
> #include "arch/x86/ldstflags.hh"
31,34d31
< #include "config/the_isa.hh"
< #if THE_ISA == X86_ISA
< #include "arch/x86/insts/microldstop.hh"
< #endif // X86_ISA
47a45
> #include "sim/system.hh"
633,637d630
< #if THE_ISA == X86_ISA
< uint32_t flags = pkt->req->getFlags();
< bool storeCheck = flags &
< (TheISA::StoreCheck << TheISA::FlagShift);
< #else
639c632,637
< #endif // X86_ISA
---
> // only X86 need the store check
> if (system->getArch() == Arch::X86ISA) {
> uint32_t flags = pkt->req->getFlags();
> storeCheck = flags &
> (X86ISA::StoreCheck << X86ISA::FlagShift);
> }