M68k for 2.12 patches
The following changes since commit bec9c64ef7be8063f1192608b83877bc5c9ea217:
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2018-02-13 18:24:08 +0000)
are available in the Git repository at:
git://github.com/vivier/qemu-m68k.git tags/m68k-for-2.12-pull-request
for you to fetch changes up to 1226e212292e271b8795265c9639d5c0553df199:
m68k: implement movep instruction (2018-02-14 11:09:13 +0100)
----------------------------------------------------------------
----------------------------------------------------------------
Pavel Dovgalyuk (1):
m68k: implement movep instruction
target/m68k/cpu.c | 2 ++ target/m68k/cpu.h | 1 + target/m68k/translate.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+)
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 1/1] m68k: implement movep instruction
From: Pavel Dovgalyuk <[email protected]>
This patch implements movep instruction. It moves data between a data register and alternate bytes within the address space starting at the location specified and incrementing by two.
It was designed for the original 68000 and used in firmwares for interfacing the 8-bit peripherals through the 16-bit data bus. Without this patch opcode for this instruction is recognized as some bitop.
Message-Id: <20180206124431.31433.91946.stgit@pasha-VirtualBox>
--- target/m68k/cpu.c | 2 ++ target/m68k/cpu.h | 1 + target/m68k/translate.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+)
target/m68k/cpu.c +2 -0
@@ -113,6 +113,7 @@ static void m68000_cpu_initfn(Object *obj)m68k_set_feature (env,M68K_FEATURE_M68000 );m68k_set_feature (env,M68K_FEATURE_USP );m68k_set_feature (env,M68K_FEATURE_WORD_INDEX ); +m68k_set_feature (env,M68K_FEATURE_MOVEP ); }static void m68020_cpu_initfn (Object *obj)
@@ -135,6 +136,7 @@ static void m68020_cpu_initfn(Object *obj)m68k_set_feature (env,M68K_FEATURE_BKPT );m68k_set_feature (env,M68K_FEATURE_RTD );m68k_set_feature (env,M68K_FEATURE_CHK2 ); +m68k_set_feature (env,M68K_FEATURE_MOVEP ); }#define m68030_cpu_initfn m68020_cpu_initfn
target/m68k/cpu.h +1 -0
@@ -492,6 +492,7 @@ enum m68k_features {M68K_FEATURE_RTD ,M68K_FEATURE_CHK2 ,M68K_FEATURE_M68040 ,/* instructions specific to MC68040 */ + M68K_FEATURE_MOVEP, };static inline int m68k_feature (CPUM68KState *env,int feature)
target/m68k/translate.c +46 -0
58 lines not on this page · raw message
Signature · 1 line
2.14.3
Peter Maydell
AppliedQuoted 16 lines · Laurent Vivier
The following changes since commit
bec9c64ef7be8063f1192608b83877bc5c9ea217:Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2018-02-13 18:24:08 +0000)
are available in the Git repository at:
git://github.com/vivier/qemu-m68k.gittags/m68k-for-2.12-pull-requestfor you to fetch changes up to
1226e212292e271b8795265c9639d5c0553df199:m68k: implement movep instruction (2018-02-14 11:09:13 +0100)
----------------------------------------------------------------
----------------------------------------------------------------
Quoted 7 lines
Pavel Dovgalyuk (1):
m68k: implement movep instructiontarget/m68k/cpu.c | 2 ++ target/m68k/cpu.h | 1 + target/m68k/translate.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+)
Applied, thanks.
-- PMM