ARM: Exclusive accesses must be double word aligned
This commit is contained in:
parent
5148c693d8
commit
0c434b7f56
2 changed files with 6 additions and 2 deletions
|
@ -206,7 +206,9 @@ let {{
|
|||
# Add memory request flags where necessary
|
||||
if self.flavor == "exclusive":
|
||||
self.memFlags.append("Request::LLSC")
|
||||
self.memFlags.append("ArmISA::TLB::AlignWord")
|
||||
self.memFlags.append("ArmISA::TLB::AlignDoubleWord")
|
||||
else:
|
||||
self.memFlags.append("ArmISA::TLB::AlignWord")
|
||||
|
||||
# Disambiguate the class name for different flavors of loads
|
||||
if self.flavor != "normal":
|
||||
|
|
|
@ -225,9 +225,11 @@ let {{
|
|||
self.Name = self.nameFunc(self.post, self.add, self.writeback)
|
||||
|
||||
# Add memory request flags where necessary
|
||||
self.memFlags.append("ArmISA::TLB::AlignWord")
|
||||
if self.flavor == "exclusive":
|
||||
self.memFlags.append("Request::LLSC")
|
||||
self.memFlags.append("ArmISA::TLB::AlignDoubleWord")
|
||||
else:
|
||||
self.memFlags.append("ArmISA::TLB::AlignWord")
|
||||
|
||||
# Disambiguate the class name for different flavors of stores
|
||||
if self.flavor != "normal":
|
||||
|
|
Loading…
Reference in a new issue