diff options
| author | Emilio G. Cota | 2018-02-16 02:52:07 +0100 |
|---|---|---|
| committer | Richard Henderson | 2018-05-09 19:12:21 +0200 |
| commit | 18f440edfb974feaff8490d4861844b5a2b7a3b5 (patch) | |
| tree | 3aed9bb5768a1c24912100804d3eb99b452fa7b6 /include/exec | |
| parent | target/mips: use *ctx for DisasContext (diff) | |
| download | qemu-18f440edfb974feaff8490d4861844b5a2b7a3b5.tar.gz qemu-18f440edfb974feaff8490d4861844b5a2b7a3b5.tar.xz qemu-18f440edfb974feaff8490d4861844b5a2b7a3b5.zip | |
target/mips: convert to TranslatorOps
Notes:
- DISAS_TOO_MANY replaces the former "break" in the translation loop.
However, care must be taken not to overwrite a previous condition
in is_jmp; that's why in translate_insn we first check is_jmp and
return if it's != DISAS_NEXT.
- Added an assert in translate_insn, before exiting due to an exception,
to make sure that is_jmp is set to DISAS_NORETURN (the exception
generation function always sets it.)
- Added an assert for the default case in is_jmp's switch.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Yongbok Kim <yongbok.kim@mips.com>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
