target-mips: Copy restrictions from ext/ins to dext/dins
authorRichard Henderson <rth@twiddle.net>
Mon, 3 Aug 2015 19:35:53 +0000 (12:35 -0700)
committerLeon Alrae <leon.alrae@imgtec.com>
Tue, 4 Aug 2015 10:53:15 +0000 (11:53 +0100)
commitb7f26e523914b982a1c1bfa8295f77ff9787c33c
tree2193e63204cf93b0a9b8c538d8f471f86f53e34d
parent060ebfef1a09b58fb219b3769b72efb407515bf1
target-mips: Copy restrictions from ext/ins to dext/dins

The checks in dins is required to avoid triggering an assertion
in tcg_gen_deposit_tl.  The check in dext is just for completeness.
Fold the other D cases in via fallthru.

In this case the errant dins appears to be data, not code, as
translation failed to stop after a break insn.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
target-mips/translate.c