mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
target/mips: MXU: Add generic naming for optn2 constants
Add generic naming involving generig suffixes OPTN0, OPTN1, OPTN2, OPTN3 for four optn2 constants. Existing suffixes WW, LW, HW, XW are not quite appropriate for some instructions using optn2. Reviewed-by: Stefan Markovic <smarkovic@wavecomp.com> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
This commit is contained in:
@@ -24238,6 +24238,11 @@ static void decode_opc_special(CPUMIPSState *env, DisasContext *ctx)
|
||||
#define MXU_EPTN2_SS 3
|
||||
|
||||
/* MXU operand getting pattern 'optn2' */
|
||||
#define MXU_OPTN2_PTN0 0
|
||||
#define MXU_OPTN2_PTN1 1
|
||||
#define MXU_OPTN2_PTN2 2
|
||||
#define MXU_OPTN2_PTN3 3
|
||||
/* alternative naming scheme for 'optn2' */
|
||||
#define MXU_OPTN2_WW 0
|
||||
#define MXU_OPTN2_LW 1
|
||||
#define MXU_OPTN2_HW 2
|
||||
|
||||
Reference in New Issue
Block a user