qemu/target/mips
Paul Burton bed9e5ceb1 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.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
2017-02-21 22:24:58 +00:00
..
Makefile.objs
TODO
cpu-qom.h
cpu.c qom/cpu: move tlb_flush to cpu_common_reset 2017-01-13 14:24:31 +00:00
cpu.h target-mips: Provide function to test if a CPU supports an ISA 2017-02-21 22:24:58 +00:00
dsp_helper.c
gdbstub.c
helper.c cputlb: drop flush_global flag from tlb_flush 2017-01-13 14:24:37 +00:00
helper.h target-mips: Use clz opcode 2017-01-10 08:06:11 -08:00
kvm.c stubs: remove stubs/kvm.c 2017-01-16 17:52:35 +01:00
kvm_mips.h
lmi_helper.c
machine.c migration: extend VMStateInfo 2017-01-24 17:54:47 +00:00
mips-defs.h
mips-semi.c
msa_helper.c
op_helper.c cputlb: drop flush_global flag from tlb_flush 2017-01-13 14:24:37 +00:00
translate.c target-mips: Provide function to test if a CPU supports an ISA 2017-02-21 22:24:58 +00:00
translate_init.c