summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/uapi/asm/inst.h
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2014-03-04 15:11:12 +0000
committerPaul Burton <paul.burton@imgtec.com>2014-05-28 16:20:23 +0100
commit6f5bb42498b0c7901d32a81d163962fd8e37f827 (patch)
treee348629b3f70e75d90caeea0041ec6339a9108f7 /arch/mips/include/uapi/asm/inst.h
parentb0a3eae2b943ef62cb8265aa604c78bb6565a2cd (diff)
downloadblackbird-obmc-linux-6f5bb42498b0c7901d32a81d163962fd8e37f827.tar.gz
blackbird-obmc-linux-6f5bb42498b0c7901d32a81d163962fd8e37f827.zip
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>
Diffstat (limited to 'arch/mips/include/uapi/asm/inst.h')
-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 {
enum spec3_op {
ext_op, dextm_op, dextu_op, dext_op,
ins_op, dinsm_op, dinsu_op, dins_op,
- lx_op = 0x0a, lwle_op = 0x19,
- lwre_op = 0x1a, cachee_op = 0x1b,
- sbe_op = 0x1c, she_op = 0x1d,
- sce_op = 0x1e, swe_op = 0x1f,
- bshfl_op = 0x20, swle_op = 0x21,
- swre_op = 0x22, prefe_op = 0x23,
- dbshfl_op = 0x24, lbue_op = 0x28,
- lhue_op = 0x29, lbe_op = 0x2c,
- lhe_op = 0x2d, lle_op = 0x2e,
- lwe_op = 0x2f, rdhwr_op = 0x3b
+ yield_op = 0x09, lx_op = 0x0a,
+ lwle_op = 0x19, lwre_op = 0x1a,
+ cachee_op = 0x1b, sbe_op = 0x1c,
+ she_op = 0x1d, sce_op = 0x1e,
+ swe_op = 0x1f, bshfl_op = 0x20,
+ swle_op = 0x21, swre_op = 0x22,
+ prefe_op = 0x23, dbshfl_op = 0x24,
+ lbue_op = 0x28, lhue_op = 0x29,
+ lbe_op = 0x2c, lhe_op = 0x2d,
+ lle_op = 0x2e, lwe_op = 0x2f,
+ rdhwr_op = 0x3b
};
/*
OpenPOWER on IntegriCloud