diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:10 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:10 -0500 |
commit | 1d5233958ad208e3b229e394ba5ab689b82d8cac (patch) | |
tree | de69dd4bac297c10f9e6355b06b5e1f5f12c9e90 /src/arch/arm/insts | |
parent | 7b397925af7fd9864189387179137dd4ac40dfad (diff) | |
download | gem5-1d5233958ad208e3b229e394ba5ab689b82d8cac.tar.xz |
ARM: Implement the V7 version of alignment checking.
Diffstat (limited to 'src/arch/arm/insts')
-rw-r--r-- | src/arch/arm/insts/macromem.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/arm/insts/macromem.hh b/src/arch/arm/insts/macromem.hh index 21a37a29e..436a5b4a3 100644 --- a/src/arch/arm/insts/macromem.hh +++ b/src/arch/arm/insts/macromem.hh @@ -43,6 +43,7 @@ #define __ARCH_ARM_MACROMEM_HH__ #include "arch/arm/insts/pred_inst.hh" +#include "arch/arm/tlb.hh" namespace ArmISA { @@ -88,7 +89,7 @@ class MicroMemOp : public MicroIntOp MicroMemOp(const char *mnem, ExtMachInst machInst, OpClass __opClass, RegIndex _ura, RegIndex _urb, bool _up, uint8_t _imm) : MicroIntOp(mnem, machInst, __opClass, _ura, _urb, _imm), - up(_up), memAccessFlags(0) + up(_up), memAccessFlags(TLB::MustBeOne | TLB::AlignWord) { } }; |