aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2014-03-04 10:11:12 -0500
committerPaul Burton <paul.burton@imgtec.com>2014-05-28 11:20:23 -0400
commit6f5bb42498b0c7901d32a81d163962fd8e37f827 (patch)
treee348629b3f70e75d90caeea0041ec6339a9108f7
parentb0a3eae2b943ef62cb8265aa604c78bb6565a2cd (diff)
MIPS: inst.h: define MT yield op
The opcode for the MT ASE yield instruction within the spec3 group was missing. This patch adds it for use by a subsequent patch. Signed-off-by: Paul Burton <paul.burton@imgtec.com>
-rw-r--r--arch/mips/include/uapi/asm/inst.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/arch/mips/include/uapi/asm/inst.h b/arch/mips/include/uapi/asm/inst.h
index 044123bfab90..b7492c69aa00 100644
--- a/arch/mips/include/uapi/asm/inst.h
+++ b/arch/mips/include/uapi/asm/inst.h
@@ -74,16 +74,17 @@ enum spec2_op {
74enum spec3_op { 74enum spec3_op {
75 ext_op, dextm_op, dextu_op, dext_op, 75 ext_op, dextm_op, dextu_op, dext_op,
76 ins_op, dinsm_op, dinsu_op, dins_op, 76 ins_op, dinsm_op, dinsu_op, dins_op,
77 lx_op = 0x0a, lwle_op = 0x19, 77 yield_op = 0x09, lx_op = 0x0a,
78 lwre_op = 0x1a, cachee_op = 0x1b, 78 lwle_op = 0x19, lwre_op = 0x1a,
79 sbe_op = 0x1c, she_op = 0x1d, 79 cachee_op = 0x1b, sbe_op = 0x1c,
80 sce_op = 0x1e, swe_op = 0x1f, 80 she_op = 0x1d, sce_op = 0x1e,
81 bshfl_op = 0x20, swle_op = 0x21, 81 swe_op = 0x1f, bshfl_op = 0x20,
82 swre_op = 0x22, prefe_op = 0x23, 82 swle_op = 0x21, swre_op = 0x22,
83 dbshfl_op = 0x24, lbue_op = 0x28, 83 prefe_op = 0x23, dbshfl_op = 0x24,
84 lhue_op = 0x29, lbe_op = 0x2c, 84 lbue_op = 0x28, lhue_op = 0x29,
85 lhe_op = 0x2d, lle_op = 0x2e, 85 lbe_op = 0x2c, lhe_op = 0x2d,
86 lwe_op = 0x2f, rdhwr_op = 0x3b 86 lle_op = 0x2e, lwe_op = 0x2f,
87 rdhwr_op = 0x3b
87}; 88};
88 89
89/* 90/*