unicorn/qemu/target-sparc
Richard Henderson 39d1657fc3
target-sparc: Store mmu index in TB flags
Doing this instead of saving the raw PS_PRIV and TL. This means
that all nucleus mode TBs (TL > 0) can be shared. This fixes a
bug in that we didn't include HS_PRIV in the TB flags, and so could
produce incorrect TB matches for hypervisor state.

The LSU and DMMU states were unused by the translator. Including
them in TB flags meant unnecessary mismatches from tb_find_fast.

Backports commit 99a230638a3674e921224dbe628159c867d734b1 from qemu
2018-02-25 04:51:50 -05:00
..
cc_helper.c sparc: Clean up includes 2018-02-19 00:52:41 -05:00
cpu-qom.h target-sparc: make cpu-qom.h not target specific 2018-02-24 01:00:56 -05:00
cpu.c target-sparc: Use sparc_cpu_parse_features() directly 2018-02-25 02:27:23 -05:00
cpu.h target-sparc: Store mmu index in TB flags 2018-02-25 04:51:50 -05:00
fop_helper.c sparc: Clean up includes 2018-02-19 00:52:41 -05:00
helper.c target-sparc: Remove softint as a TCG global 2018-02-25 04:49:27 -05:00
helper.h target-sparc: Remove softint as a TCG global 2018-02-25 04:49:27 -05:00
int32_helper.c sparc: Clean up includes 2018-02-19 00:52:41 -05:00
int64_helper.c target-sparc: fix Trap Based Address Register behavior for sparc64 2018-02-23 13:39:59 -05:00
ldst_helper.c Fix confusing argument names in some common functions 2018-02-25 03:58:27 -05:00
Makefile.objs cleanup Sparc unused code 2017-01-23 12:34:00 +08:00
mmu_helper.c cpu: move exec-all.h inclusion out of cpu.h 2018-02-24 02:39:08 -05:00
TODO import 2015-08-21 15:04:50 +08:00
translate.c target-sparc: Store mmu index in TB flags 2018-02-25 04:51:50 -05:00
unicorn.c qemu-common: push cpu.h inclusion out of qemu-common.h 2018-02-24 01:50:56 -05:00
unicorn.h New feature: registers can be bulk saved/restored in an opaque blob 2016-08-20 04:14:07 -07:00
unicorn64.c qemu-common: push cpu.h inclusion out of qemu-common.h 2018-02-24 01:50:56 -05:00
vis_helper.c sparc: Clean up includes 2018-02-19 00:52:41 -05:00
win_helper.c sparc: Clean up includes 2018-02-19 00:52:41 -05:00