summaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
authorSteven J. Hill <sjhill@mips.com>2012-07-12 19:21:31 +0200
committerSteven J. Hill <sjhill@mips.com>2012-09-13 22:43:53 +0200
commite6de1a09a2f6a6825341e8463866553b77848ed6 (patch)
tree473dbf84055f232628e0b37ecfd4d9244d500eb5 /arch/mips/include
parentMIPS: Avoid pipeline stalls on some MIPS32R2 cores. (diff)
downloadlinux-e6de1a09a2f6a6825341e8463866553b77848ed6.tar.xz
linux-e6de1a09a2f6a6825341e8463866553b77848ed6.zip
MIPS: uasm: Add INS and EXT instructions.
These are MIPS32R2 instructions for merging and extracting bit fields from one GPR into another. Signed-off-by: Steven J. Hill <sjhill@mips.com>
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/uasm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/uasm.h b/arch/mips/include/asm/uasm.h
index 3d9f75f7ffc9..7e0bf17c9324 100644
--- a/arch/mips/include/asm/uasm.h
+++ b/arch/mips/include/asm/uasm.h
@@ -90,6 +90,8 @@ Ip_u2u1u3(_dsrl);
Ip_u2u1u3(_dsrl32);
Ip_u3u1u2(_dsubu);
Ip_0(_eret);
+Ip_u2u1msbu3(_ext);
+Ip_u2u1msbu3(_ins);
Ip_u1(_j);
Ip_u1(_jal);
Ip_u1(_jr);