From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Daney Subject: [PATCH v2 2/5] MIPS: Correctly define DBSHFL type instruction opcodes. Date: Tue, 13 Jun 2017 15:28:44 -0700 Message-ID: <20170613222847.7122-3-david.daney@cavium.com> References: <20170613222847.7122-1-david.daney@cavium.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Markos Chandras , Matt Redfearn , David Daney To: Alexei Starovoitov , Daniel Borkmann , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, ralf@linux-mips.org Return-path: In-Reply-To: <20170613222847.7122-1-david.daney@cavium.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org DSHD was incorrectly classified as being BSHFL, and DSHD was missing altogether. Signed-off-by: David Daney --- arch/mips/include/uapi/asm/inst.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/mips/include/uapi/asm/inst.h b/arch/mips/include/uapi/asm/inst.h index b5e46ae..e5f5385 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 { -- 2.9.4