unicorn/qemu/target/mips
Stefan Markovic 6b5dbbf6a3
target/mips: Add emulation of nanoMIPS 16-bit save and restore instructions
Add emulation of SAVE16 and RESTORE.JRC16 instructions. Routines
gen_save(), gen_restore(), and gen_adjust_sp() are provided to support
this feature.

This patch at the same time provides function gen_op_addr_addi(). This
function will be used in emulation of some other nanoMIPS instructions.

Backports commit bf0718c59a4b27dd01346a7b5b9a183ed1b18fb7 from qemu
2018-08-27 04:43:27 -04:00
..
cp0_timer.c mips: introduce internal.h and cleanup cpu.h 2018-03-05 00:25:56 -05:00
cpu-qom.h mips: MIPSCPU model subclasses 2018-03-05 00:42:29 -05:00
cpu.c cpu: Add Error argument to cpu_exec_init() 2018-03-21 07:50:33 -04:00
cpu.h target/mips: Add CP0 BadInstrX register 2018-08-17 14:22:02 -04:00
dsp_helper.c mips: Improve macro parenthesization 2018-03-05 00:51:51 -05:00
helper.c target/mips: Don't update BadVAddr register in Debug Mode 2018-08-17 14:24:19 -04:00
helper.h target/mips: Add segmentation control registers 2018-03-04 01:00:42 -05:00
internal.h target/mips/internal: Perform comparison pass with qemu 2018-03-12 15:13:17 -04:00
lmi_helper.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
Makefile.objs mips: introduce internal.h and cleanup cpu.h 2018-03-05 00:25:56 -05:00
mips-defs.h target/mips: Add preprocessor constants for nanoMIPS 2018-08-27 04:11:21 -04:00
msa_helper.c target/mips: Remove floatX_maybe_silence_nan from conversions 2018-05-19 23:25:04 -04:00
op_helper.c target/mips: Raise a RI when given fs is n/a from CTC1 2018-07-03 00:57:09 -04:00
TODO Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
translate.c target/mips: Add emulation of nanoMIPS 16-bit save and restore instructions 2018-08-27 04:43:27 -04:00
translate_init.c target/mips/translate: Perform comparison pass with qemu 2018-03-12 17:52:56 -04:00
unicorn.c Use DEFINE_MACHINE() to register all machines 2018-03-11 15:12:46 -04:00
unicorn.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00