qemu-patch-raspberry4/target-m68k
Laurent Vivier d8633620a1 target-m68k: manage scaled index
Scaled index is not supported by 68000, 68008, and 68010.

    EA = (bd + PC) + Xn.SIZE*SCALE + od

Ignore it:

M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL
2.4 BRIEF EXTENSION WORD FORMAT COMPATIBILITY

"If the MC68000 were to execute an instruction that
 encoded a scaling factor, the scaling factor would be
 ignored and would not access the desired memory address.
 The earlier microprocessors do not recognize the brief
 extension word formats implemented by newer processors.
 Although they can detect illegal instructions, they do not
 decode invalid encodings of the brief extension word formats
 as exceptions."

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <rth@twiddle.net>
2016-10-25 20:54:47 +02:00
..
cpu-qom.h target-m68k: make cpu-qom.h not target specific 2016-05-19 13:08:05 +02:00
cpu.c target-m68k: define m680x0 CPUs and features 2016-10-25 20:54:47 +02:00
cpu.h target-m68k: define m680x0 CPUs and features 2016-10-25 20:54:47 +02:00
gdbstub.c qemu-common: push cpu.h inclusion out of qemu-common.h 2016-05-19 16:42:29 +02:00
helper.c target-m68k: fix get_mac_extf helper 2016-09-13 18:12:34 +03:00
helper.h tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
m68k-semi.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00
Makefile.objs cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
op_helper.c Fix confusing argument names in some common functions 2016-07-12 13:06:08 +01:00
qregs.def cpu: Move exception_index field from CPU_COMMON to CPUState 2014-03-13 19:20:46 +01:00
translate.c target-m68k: manage scaled index 2016-10-25 20:54:47 +02:00