]> git.ipfire.org Git - thirdparty/qemu.git/commit - target/sparc/translate.c
target-sparc: Introduce get_asi
authorRichard Henderson <rth@twiddle.net>
Thu, 3 Sep 2015 04:45:15 +0000 (21:45 -0700)
committerRichard Henderson <rth@twiddle.net>
Tue, 12 Jul 2016 18:02:11 +0000 (11:02 -0700)
commit7ec1e5ea4bd0700fa48da86bffa2fcc6146c410a
tree22e4533190b634756b131fcc5a89c452854e49f7
parenta6d567e523ed7e928861f3caa5d49368af3f330d
target-sparc: Introduce get_asi

Replace gen_get_asi, and use it for both 32-bit and 64-bit.
For v8, do supervisor and immediate checks here.

Also, move save_state and TB ending into the respective
subroutines, out of disas_sparc_insn.

Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-sparc/translate.c