diff options
author | David Daney <[email protected]> | 2017-06-13 15:28:44 -0700 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2017-06-28 12:22:38 +0200 |
commit | 1f22d599c9849898ef9e3229434b87438278cccc (patch) | |
tree | 1dde3658c4268bef80d0a27ebef191112133f557 | |
parent | ce807d5f67ed309a6f357b88cc93185d89e921d3 (diff) |
MIPS: Correctly define DBSHFL type instruction opcodes.
DSHD was incorrectly classified as being BSHFL, and DSHD was missing
altogether.
Signed-off-by: David Daney <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Matt Redfearn <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/16366/
Signed-off-by: Ralf Baechle <[email protected]>
-rw-r--r-- | arch/mips/include/uapi/asm/inst.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/mips/include/uapi/asm/inst.h b/arch/mips/include/uapi/asm/inst.h index b5e46ae872d3..e5f538584b8e 100644 --- a/arch/mips/include/uapi/asm/inst.h +++ b/arch/mips/include/uapi/asm/inst.h @@ -276,12 +276,19 @@ enum lx_func { */ enum bshfl_func { wsbh_op = 0x2, - dshd_op = 0x5, seb_op = 0x10, seh_op = 0x18, }; /* + * DBSHFL opcodes + */ +enum dbshfl_func { + dsbh_op = 0x2, + dshd_op = 0x5, +}; + +/* * MSA minor opcodes. */ enum msa_func { |