aboutsummaryrefslogtreecommitdiff
path: root/target-mips/op_mem.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-06-26 20:02:45 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-06-26 20:02:45 +0000
commitd796321b6b552284080af5560030e9c8d0f06321 (patch)
tree6e9102e3c47134eff6765c87de7f26f9ca51a5c5 /target-mips/op_mem.c
parent567d4107a67571f57bb5f8879258414a87f98a2b (diff)
lwu support - generate exception if unaligned pc (Marius Groeger)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2025 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/op_mem.c')
-rw-r--r--target-mips/op_mem.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/target-mips/op_mem.c b/target-mips/op_mem.c
index b5308bea57..35ccd44c66 100644
--- a/target-mips/op_mem.c
+++ b/target-mips/op_mem.c
@@ -61,6 +61,12 @@ void glue(op_lw, MEMSUFFIX) (void)
RETURN();
}
+void glue(op_lwu, MEMSUFFIX) (void)
+{
+ T0 = glue(ldl, MEMSUFFIX)(T0);
+ RETURN();
+}
+
void glue(op_sw, MEMSUFFIX) (void)
{
glue(stl, MEMSUFFIX)(T0, T1);