summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/uasm.h
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2014-04-08 13:47:02 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-05-30 12:36:03 +0200
commitbeef8e020d43c31a8741d3fb4781914ad1f4e420 (patch)
treeea86bac7e5076c09a818a8b1d83f1c8a0c615860 /arch/mips/include/asm/uasm.h
parentMIPS: math-emu: Add IEEE754 exception statistics to debugfs (diff)
downloadlinux-beef8e020d43c31a8741d3fb4781914ad1f4e420.tar.xz
linux-beef8e020d43c31a8741d3fb4781914ad1f4e420.zip
MIPS: uasm: Add u3u2u1 instruction builders
It will be used later on by the sllv and srlv instructions. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/6723/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/uasm.h')
-rw-r--r--arch/mips/include/asm/uasm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/include/asm/uasm.h b/arch/mips/include/asm/uasm.h
index 3d803877ad8f..fd9e50ae81c9 100644
--- a/arch/mips/include/asm/uasm.h
+++ b/arch/mips/include/asm/uasm.h
@@ -55,6 +55,9 @@ void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b, unsigned int c)
#define Ip_u2u1u3(op) \
void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b, unsigned int c)
+#define Ip_u3u2u1(op) \
+void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b, unsigned int c)
+
#define Ip_u3u1u2(op) \
void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b, unsigned int c)