diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-04-14 10:42:31 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-30 09:57:44 -0400 |
commit | 16d21a812f6bfcbfa84ccc19d38abe797c71b73e (patch) | |
tree | c4f59ef3ae131b04ab53a6c5baf9cbfee5724694 /arch/mips/include | |
parent | a8e897ad00d3cfd0ab9029978f0c3f8ecd6fba61 (diff) |
MIPS: uasm: Add mflo 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>
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 95954ba24d31..719a88401afa 100644 --- a/arch/mips/include/asm/uasm.h +++ b/arch/mips/include/asm/uasm.h | |||
@@ -133,6 +133,7 @@ Ip_u2s3u1(_lw); | |||
133 | Ip_u3u1u2(_lwx); | 133 | Ip_u3u1u2(_lwx); |
134 | Ip_u1u2u3(_mfc0); | 134 | Ip_u1u2u3(_mfc0); |
135 | Ip_u1(_mfhi); | 135 | Ip_u1(_mfhi); |
136 | Ip_u1(_mflo); | ||
136 | Ip_u1u2u3(_mtc0); | 137 | Ip_u1u2u3(_mtc0); |
137 | Ip_u3u1u2(_mul); | 138 | Ip_u3u1u2(_mul); |
138 | Ip_u3u1u2(_or); | 139 | Ip_u3u1u2(_or); |
diff --git a/arch/mips/include/uapi/asm/inst.h b/arch/mips/include/uapi/asm/inst.h index 67933839ce6a..4b7160259292 100644 --- a/arch/mips/include/uapi/asm/inst.h +++ b/arch/mips/include/uapi/asm/inst.h | |||
@@ -316,6 +316,7 @@ enum mm_32axf_minor_op { | |||
316 | mm_mfhi32_op = 0x035, | 316 | mm_mfhi32_op = 0x035, |
317 | mm_jalr_op = 0x03c, | 317 | mm_jalr_op = 0x03c, |
318 | mm_tlbr_op = 0x04d, | 318 | mm_tlbr_op = 0x04d, |
319 | mm_mflo32_op = 0x075, | ||
319 | mm_jalrhb_op = 0x07c, | 320 | mm_jalrhb_op = 0x07c, |
320 | mm_tlbwi_op = 0x08d, | 321 | mm_tlbwi_op = 0x08d, |
321 | mm_tlbwr_op = 0x0cd, | 322 | mm_tlbwr_op = 0x0cd, |