diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-06-14 12:56:19 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-06-14 12:56:19 +0000 |
commit | 6ea83fedc802c6d678e36c380d72733d89d17bba (patch) | |
tree | 7402d140330477cf8301925589966fb4c104066a /target-mips/op_mem.c | |
parent | 180b700dc7227d454d30656662912c79ffc3a62f (diff) |
MIPS FPU support (Marius Goeger)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1964 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/op_mem.c')
-rw-r--r-- | target-mips/op_mem.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/target-mips/op_mem.c b/target-mips/op_mem.c index 7fcfc24a6f..b5308bea57 100644 --- a/target-mips/op_mem.c +++ b/target-mips/op_mem.c @@ -118,3 +118,26 @@ void glue(op_sc, MEMSUFFIX) (void) } RETURN(); } + +#ifdef MIPS_USES_FPU +void glue(op_lwc1, MEMSUFFIX) (void) +{ + WT0 = glue(ldl, MEMSUFFIX)(T0); + RETURN(); +} +void glue(op_swc1, MEMSUFFIX) (void) +{ + glue(stl, MEMSUFFIX)(T0, WT0); + RETURN(); +} +void glue(op_ldc1, MEMSUFFIX) (void) +{ + DT0 = glue(ldq, MEMSUFFIX)(T0); + RETURN(); +} +void glue(op_sdc1, MEMSUFFIX) (void) +{ + glue(stq, MEMSUFFIX)(T0, DT0); + RETURN(); +} +#endif |