diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-04-08 07:47:10 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-30 09:54:38 -0400 |
commit | e8ef868b470984064c23ce4bf2cd4c0167e1fbe5 (patch) | |
tree | ebff68814737f98b1fc0da98d971d8e01375e95b /arch/mips/include | |
parent | 390363ed77c05f4971254bebc96554afb79dd453 (diff) |
MIPS: uasm: Add sltu uasm instruction
It will be used later on by bpf-jit
[ralf@linux-mips.org: Resolved conflict.]
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/6731/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/uasm.h | 1 | ||||
-rw-r--r-- | arch/mips/include/uapi/asm/inst.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/uasm.h b/arch/mips/include/asm/uasm.h index abf0845f5007..090f7503e421 100644 --- a/arch/mips/include/asm/uasm.h +++ b/arch/mips/include/asm/uasm.h | |||
@@ -144,6 +144,7 @@ Ip_u2s3u1(_sd); | |||
144 | Ip_u2u1u3(_sll); | 144 | Ip_u2u1u3(_sll); |
145 | Ip_u3u2u1(_sllv); | 145 | Ip_u3u2u1(_sllv); |
146 | Ip_u2u1s3(_sltiu); | 146 | Ip_u2u1s3(_sltiu); |
147 | Ip_u3u1u2(_sltu); | ||
147 | Ip_u2u1u3(_sra); | 148 | Ip_u2u1u3(_sra); |
148 | Ip_u2u1u3(_srl); | 149 | Ip_u2u1u3(_srl); |
149 | Ip_u3u2u1(_srlv); | 150 | Ip_u3u2u1(_srlv); |
diff --git a/arch/mips/include/uapi/asm/inst.h b/arch/mips/include/uapi/asm/inst.h index a7f6a16fd26c..c78d235f86ee 100644 --- a/arch/mips/include/uapi/asm/inst.h +++ b/arch/mips/include/uapi/asm/inst.h | |||
@@ -261,6 +261,7 @@ enum mm_32a_minor_op { | |||
261 | mm_and_op = 0x250, | 261 | mm_and_op = 0x250, |
262 | mm_or32_op = 0x290, | 262 | mm_or32_op = 0x290, |
263 | mm_xor32_op = 0x310, | 263 | mm_xor32_op = 0x310, |
264 | mm_sltu_op = 0x390, | ||
264 | }; | 265 | }; |
265 | 266 | ||
266 | /* | 267 | /* |