diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-04-08 12:47:11 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-30 15:54:38 +0200 |
commit | ab9e4fa092db6c4beea8fde67261959520675456 (patch) | |
tree | 9ab1a6cb3ea8e005dd131ce89fd1701c4e923fab /arch/mips/include/uapi | |
parent | e8ef868b470984064c23ce4bf2cd4c0167e1fbe5 (diff) | |
download | linux-stable-ab9e4fa092db6c4beea8fde67261959520675456.tar.gz linux-stable-ab9e4fa092db6c4beea8fde67261959520675456.tar.bz2 linux-stable-ab9e4fa092db6c4beea8fde67261959520675456.zip |
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>
Diffstat (limited to 'arch/mips/include/uapi')
-rw-r--r-- | arch/mips/include/uapi/asm/inst.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/mips/include/uapi/asm/inst.h b/arch/mips/include/uapi/asm/inst.h index c78d235f86ee..aa37373bfd64 100644 --- a/arch/mips/include/uapi/asm/inst.h +++ b/arch/mips/include/uapi/asm/inst.h @@ -206,6 +206,16 @@ enum lx_func { }; /* + * BSHFL opcodes + */ +enum bshfl_func { + wsbh_op = 0x2, + dshd_op = 0x5, + seb_op = 0x10, + seh_op = 0x18, +}; + +/* * (microMIPS) Major opcodes. */ enum mm_major_op { @@ -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, |