summaryrefslogtreecommitdiff
path: root/src/arch/riscv/isa_traits.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/isa_traits.hh')
-rw-r--r--src/arch/riscv/isa_traits.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/riscv/isa_traits.hh b/src/arch/riscv/isa_traits.hh
index f7a2c8762..327d64498 100644
--- a/src/arch/riscv/isa_traits.hh
+++ b/src/arch/riscv/isa_traits.hh
@@ -65,8 +65,8 @@ const Addr PageBytes = ULL(1) << PageShift;
const ExtMachInst NoopMachInst = 0x00000013;
-// Memory accesses can not be unaligned
-const bool HasUnalignedMemAcc = false;
+// Memory accesses can be unaligned (at least for double-word memory accesses)
+const bool HasUnalignedMemAcc = true;
const bool CurThreadInfoImplemented = false;
const int CurThreadInfoReg = -1;