summaryrefslogtreecommitdiff
path: root/src/arch/arm/isa/insts/ldr.isa
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-06-02 12:58:04 -0500
committerGabe Black <gblack@eecs.umich.edu>2010-06-02 12:58:04 -0500
commitb6e2f5d33f5afc61face993f60667afbfd0d8ac7 (patch)
treee162d20a8f1786eb3e94fc2fc7c166c4c9a757e1 /src/arch/arm/isa/insts/ldr.isa
parent89060f1fd80b032c92cf4f38c8459901c4f7a898 (diff)
downloadgem5-b6e2f5d33f5afc61face993f60667afbfd0d8ac7.tar.xz
ARM: Make sure ldm exception return writes back its base in the right mode.
This change moves the writeback of load multiple instructions to the beginning of the macroop. That way, the MicroLdrRetUop that changes the mode will necessarily happen later, ensuring the writeback happens in the original mode. The actual value in the base register if it also shows up in the register list is undefined, so it's fine if it gets clobbered by one of the loads. For stores where the base register is the lowest numbered in the register list, the original value should be written back. That means stores can't write back at the beginning, but the mode changing problem doesn't affect them so they can continue to write back at the end.
Diffstat (limited to 'src/arch/arm/isa/insts/ldr.isa')
0 files changed, 0 insertions, 0 deletions