unicorn/qemu
Paul Burton 411ddd16cf
target-mips: Provide function to test if a CPU supports an ISA
Provide a new cpu_supports_isa function which allows callers to
determine whether a CPU supports one of the ISA_ flags, by testing
whether the associated struct mips_def_t sets the ISA flags in its
insn_flags field.

An example use of this is to allow boards which generate bootloader code
to determine the properties of the CPU that will be used, for example
whether the CPU is 64 bit or which architecture revision it implements.

Backports commit bed9e5ceb158c886d548fe59675a6eba18baeaeb from qemu
2018-03-02 08:20:19 -05:00
..
crypto
default-configs
docs
fpu softfloat: Fix the default qNAN for target-ppc 2018-03-02 00:15:36 -05:00
hw i386: Remove AMD feature flag aliases from Opteron models 2018-03-01 23:49:04 -05:00
include arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
qapi
qobject
qom arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
scripts
target target-mips: Provide function to test if a CPU supports an ISA 2018-03-02 08:20:19 -05:00
tcg tcg/i386: Handle ctpop opcode 2018-03-01 18:49:43 -05:00
util util/mmap-alloc: refactor a little bit for readability 2018-03-01 23:55:15 -05:00
aarch64.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
aarch64eb.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
accel.c clean-up: removed duplicate #includes 2018-02-28 08:51:56 -05:00
arm.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
armeb.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
atomic_template.h
CODING_STYLE
configure
COPYING
COPYING.LIB
cpu-exec-common.c
cpu-exec.c cpu-exec: remove outermost infinite loop 2018-03-02 08:13:43 -05:00
cpus.c
cputlb.c cputlb: drop flush_global flag from tlb_flush 2018-03-01 19:36:04 -05:00
exec.c exec: make address_space_cache_destroy idempotent 2018-03-02 08:16:17 -05:00
gen_all_header.sh
glib_compat.c
HACKING
header_gen.py target-mips: Provide function to test if a CPU supports an ISA 2018-03-02 08:20:19 -05:00
ioport.c
LICENSE
m68k.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
Makefile
Makefile.objs
Makefile.target Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
memory_ldst.inc.c exec: introduce memory_ldst.inc.c 2018-03-01 09:59:34 -05:00
memory_mapping.c
memory.c cputlb: drop flush_global flag from tlb_flush 2018-03-01 19:36:04 -05:00
mips64.h target-mips: Provide function to test if a CPU supports an ISA 2018-03-02 08:20:19 -05:00
mips64el.h target-mips: Provide function to test if a CPU supports an ISA 2018-03-02 08:20:19 -05:00
mips.h target-mips: Provide function to test if a CPU supports an ISA 2018-03-02 08:20:19 -05:00
mipsel.h target-mips: Provide function to test if a CPU supports an ISA 2018-03-02 08:20:19 -05:00
powerpc.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
qapi-schema.json qapi: add missing colon-ending for section name 2018-03-01 09:07:10 -05:00
qemu-timer.c
rules.mak
softmmu_template.h
sparc64.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
sparc.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
tcg-runtime.c tcg: Add opcode for ctpop 2018-03-01 18:26:41 -05:00
translate-all.c translate-all: Avoid -Werror=switch-bool 2018-03-01 13:01:50 -05:00
translate-all.h
translate-common.c
unicorn_common.h
VERSION
vl.c
vl.h
x86_64.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00