From e28a980fb7737edcf70fbce20c77b64fa14264a2 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 8 Sep 2007 20:04:20 +0000 Subject: [PATCH] SPLIT_MOVEL_PD now affects movem too git-svn-id: file:///home/notaz/opt/svn/PicoDrive@241 be3aeb3a-fb24-0410-a615-afba39da0efa --- cpu/Cyclone/OpMove.cpp | 17 +++++++++++++---- cpu/Cyclone/config.h | 4 ++-- cpu/Cyclone/config_pico.h | 6 +++--- cpu/musashi/m68k_in.c | 7 +++++-- 4 files changed, 23 insertions(+), 11 deletions(-) diff --git a/cpu/Cyclone/OpMove.cpp b/cpu/Cyclone/OpMove.cpp index b5dc0ce5..1bc7a516 100644 --- a/cpu/Cyclone/OpMove.cpp +++ b/cpu/Cyclone/OpMove.cpp @@ -415,12 +415,21 @@ int OpMovem(int op) } else { - // if (size == 2 && decr && SPLIT_MOVEL_PD) we should do 2xWrite16 here - // (same as in movel.l ?, -(An)), but as this is not likely to be needed and - // we do not want the performance hit, we do single Write32 instead. ot(" ;@ Copy register to memory:\n",1<> 16) & 0xFFFF ); +#else + m68ki_write_16(ea+2, REG_DA[15-i] & 0xFFFF ); + m68ki_write_16(ea, (REG_DA[15-i] >> 16) & 0xFFFF ); +#endif count++; } AY = ea; -- 2.39.5