target-mips: split decode_opc_special* into *_r6 and *_legacy
authorLeon Alrae <leon.alrae@imgtec.com>
Fri, 27 Jun 2014 07:49:02 +0000 (08:49 +0100)
committerLeon Alrae <leon.alrae@imgtec.com>
Mon, 13 Oct 2014 11:38:24 +0000 (12:38 +0100)
commit10dc65dbb83829590e79216a86c2ee168be3bf0b
tree40a14502000555fa484fe74f20a8c37d1f1bd04c
parent099e5b4d9fe99860b5533d09fac7ac8b64c12b53
target-mips: split decode_opc_special* into *_r6 and *_legacy

For better code readability and to avoid 'if' statements for all R6 and preR6
instructions whose opcodes are the same - decode_opc_special* functions are
split into functions with _r6 and _legacy suffixes.

*_r6 functions will contain instructions which were introduced in R6.
*_legacy functions will contain instructions which were removed in R6.

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