Skip to content

Commit 1f22d59

Browse files
daviddaneyralfbaechle
authored andcommitted
MIPS: Correctly define DBSHFL type instruction opcodes.
DSHD was incorrectly classified as being BSHFL, and DSHD was missing altogether. Signed-off-by: David Daney <david.daney@cavium.com> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Matt Redfearn <matt.redfearn@imgtec.com> Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/16366/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent ce807d5 commit 1f22d59

File tree

1 file changed

+8
-1
lines changed
  • arch/mips/include/uapi/asm

1 file changed

+8
-1
lines changed

arch/mips/include/uapi/asm/inst.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,18 @@ enum lx_func {
276276
*/
277277
enum bshfl_func {
278278
wsbh_op = 0x2,
279-
dshd_op = 0x5,
280279
seb_op = 0x10,
281280
seh_op = 0x18,
282281
};
283282

283+
/*
284+
* DBSHFL opcodes
285+
*/
286+
enum dbshfl_func {
287+
dsbh_op = 0x2,
288+
dshd_op = 0x5,
289+
};
290+
284291
/*
285292
* MSA minor opcodes.
286293
*/

0 commit comments

Comments
 (0)