MIPS: uasm: Add wsbh uasm instruction
It will be used later on by bpf-jit [ralf@linux-mips.org: Resolved conflict.] Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/6732/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:

committed by
Ralf Baechle

parent
e8ef868b47
commit
ab9e4fa092
@@ -205,6 +205,16 @@ enum lx_func {
|
||||
lbx_op = 0x16,
|
||||
};
|
||||
|
||||
/*
|
||||
* BSHFL opcodes
|
||||
*/
|
||||
enum bshfl_func {
|
||||
wsbh_op = 0x2,
|
||||
dshd_op = 0x5,
|
||||
seb_op = 0x10,
|
||||
seh_op = 0x18,
|
||||
};
|
||||
|
||||
/*
|
||||
* (microMIPS) Major opcodes.
|
||||
*/
|
||||
@@ -258,6 +268,7 @@ enum mm_32a_minor_op {
|
||||
mm_lwxs_op = 0x118,
|
||||
mm_addu32_op = 0x150,
|
||||
mm_subu32_op = 0x1d0,
|
||||
mm_wsbh_op = 0x1ec,
|
||||
mm_and_op = 0x250,
|
||||
mm_or32_op = 0x290,
|
||||
mm_xor32_op = 0x310,
|
||||
|
Reference in New Issue
Block a user