summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/uasm.h
diff options
context:
space:
mode:
authorSteven J. Hill <sjhill@mips.com>2012-07-12 21:21:31 +0400
committerSteven J. Hill <sjhill@mips.com>2012-09-14 00:43:53 +0400
commite6de1a09a2f6a6825341e8463866553b77848ed6 (patch)
tree473dbf84055f232628e0b37ecfd4d9244d500eb5 /arch/mips/include/asm/uasm.h
parent625c0a21700bdb90844d926a1508a17a77e369c9 (diff)
downloadlinux-e6de1a09a2f6a6825341e8463866553b77848ed6.tar.xz
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/asm/uasm.h')
-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);