target/i386: Use generic DISAS_* enumerators
commit1e39d97af086d525cd0408eaa5d19783ea165906
authorRichard Henderson <rth@twiddle.net>
Fri, 14 Jul 2017 17:54:07 +0000 (14 07:54 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 6 Sep 2017 15:06:47 +0000 (6 08:06 -0700)
tree19993ddf7f1ff9367d48f7a4b266718e397e189e
parent5dc66895b0113034cd37fd5e65911d7959fc26a9
target/i386: Use generic DISAS_* enumerators

This target is not sophisticated in its use of cleanups at the
end of the translation loop.  For the most part, any condition
that exits the TB is dealt with by emitting the exiting opcode
right then and there.  Therefore the only is_jmp indicator that
is needed is DISAS_NORETURN.

For two stack segment modifying cases, we have not yet exited
the TB (therefore DISAS_NORETURN feels wrong), but intend to exit.
The caller of gen_movl_seg_T0 currently checks for any non-zero
value, therefore DISAS_TOO_MANY seems acceptable for that usage.

Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target/i386/translate.c