Module Name: src
Committed By: matt
Date: Sat Jun 27 03:30:01 UTC 2015
Modified Files:
src/sys/arch/mips/include: mips_opcode.h
Log Message:
More instructions
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/mips/include/mips_opcode.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/include/mips_opcode.h
diff -u src/sys/arch/mips/include/mips_opcode.h:1.20 src/sys/arch/mips/include/mips_opcode.h:1.21
--- src/sys/arch/mips/include/mips_opcode.h:1.20 Thu Jun 4 02:26:49 2015
+++ src/sys/arch/mips/include/mips_opcode.h Sat Jun 27 03:30:01 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_opcode.h,v 1.20 2015/06/04 02:26:49 matt Exp $ */
+/* $NetBSD: mips_opcode.h,v 1.21 2015/06/27 03:30:01 matt Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -150,6 +150,8 @@ typedef union {
#define OP_LDR 033 /* MIPS-II, for r4000 port */
#define OP_SPECIAL2 034 /* QED opcodes */
+#define OP_JALX 035
+#define OP_MDMX 036
#define OP_SPECIAL3 037
#define OP_LB 040
@@ -309,14 +311,30 @@ typedef union {
#define OP_DINSU 006 /* MIPS32/64 r2 */
#define OP_DINS 007 /* MIPS32/64 r2 */
#define OP_LX 012 /* DSP */
+#define OP_LWLE 031 /* EVA */
+#define OP_LWRE 032 /* EVA */
+#define OP_CACHEE 033 /* EVA */
+#define OP_SBE 034 /* EVA */
+#define OP_SHE 035 /* EVA */
+#define OP_SCE 035 /* EVA */
+#define OP_SWE 035 /* EVA */
#define OP_BSHFL 040 /* MIPS32/64 r2 */
+#define OP_SWLE 041 /* EVA */
+#define OP_SWRE 042 /* EVA */
+#define OP_PREFE 043 /* EVA */
#define OP_DBSHFL 044 /* MIPS32/64 r2 */
+#define OP_LBUE 050 /* EVA */
+#define OP_LHUE 051 /* EVA */
+#define OP_LBE 054 /* EVA */
+#define OP_LHE 055 /* EVA */
+#define OP_LLE 056 /* EVA */
+#define OP_LWE 057 /* EVA */
#define OP_RDHWR 073 /* MIPS32/64 r2 */
-#define OP_BSHFL_SBH 2 /* swap bytes within halfwords */
-#define OP_BSHFL_SHD 4 /* swap halfworks within double */
-#define OP_BSHFL_SEB 16 /* sign extend byte */
-#define OP_BSHFL_SEH 24 /* sign extend halfword */
+#define OP_BSHFL_SBH 002 /* swap bytes within halfwords */
+#define OP_BSHFL_SHD 005 /* swap halfworks within double */
+#define OP_BSHFL_SEB 020 /* sign extend byte */
+#define OP_BSHFL_SEH 030 /* sign extend halfword */
#define OP_LX_LWX 0 /* lwx */
#define OP_LX_LHX 4 /* lhx */