diff options
author | Steven J. Hill <Steven.Hill@imgtec.com> | 2014-11-13 10:52:02 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 16:47:31 -0500 |
commit | e2965cd0003f222bd49f67907c2bc6ed691c6d20 (patch) | |
tree | 178e452f7078122ed59c78c19d4bb2c78036505c /arch/mips/mm/uasm-mips.c | |
parent | 77a5c59332aa75e66f0d95f9eeb69baf3c68970d (diff) |
MIPS: Add MFHC0 and MTHC0 instructions to uasm.
New instructions for Extended Physical Addressing (XPA) functionality.
Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8453/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/uasm-mips.c')
-rw-r--r-- | arch/mips/mm/uasm-mips.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/mm/uasm-mips.c b/arch/mips/mm/uasm-mips.c index 6708a2dbf934..8e02291cfc0c 100644 --- a/arch/mips/mm/uasm-mips.c +++ b/arch/mips/mm/uasm-mips.c | |||
@@ -96,9 +96,11 @@ static struct insn insn_table[] = { | |||
96 | { insn_lw, M(lw_op, 0, 0, 0, 0, 0), RS | RT | SIMM }, | 96 | { insn_lw, M(lw_op, 0, 0, 0, 0, 0), RS | RT | SIMM }, |
97 | { insn_lwx, M(spec3_op, 0, 0, 0, lwx_op, lx_op), RS | RT | RD }, | 97 | { insn_lwx, M(spec3_op, 0, 0, 0, lwx_op, lx_op), RS | RT | RD }, |
98 | { insn_mfc0, M(cop0_op, mfc_op, 0, 0, 0, 0), RT | RD | SET}, | 98 | { insn_mfc0, M(cop0_op, mfc_op, 0, 0, 0, 0), RT | RD | SET}, |
99 | { insn_mfhc0, M(cop0_op, mfhc0_op, 0, 0, 0, 0), RT | RD | SET}, | ||
99 | { insn_mfhi, M(spec_op, 0, 0, 0, 0, mfhi_op), RD }, | 100 | { insn_mfhi, M(spec_op, 0, 0, 0, 0, mfhi_op), RD }, |
100 | { insn_mflo, M(spec_op, 0, 0, 0, 0, mflo_op), RD }, | 101 | { insn_mflo, M(spec_op, 0, 0, 0, 0, mflo_op), RD }, |
101 | { insn_mtc0, M(cop0_op, mtc_op, 0, 0, 0, 0), RT | RD | SET}, | 102 | { insn_mtc0, M(cop0_op, mtc_op, 0, 0, 0, 0), RT | RD | SET}, |
103 | { insn_mthc0, M(cop0_op, mthc0_op, 0, 0, 0, 0), RT | RD | SET}, | ||
102 | { insn_mul, M(spec2_op, 0, 0, 0, 0, mul_op), RS | RT | RD}, | 104 | { insn_mul, M(spec2_op, 0, 0, 0, 0, mul_op), RS | RT | RD}, |
103 | { insn_ori, M(ori_op, 0, 0, 0, 0, 0), RS | RT | UIMM }, | 105 | { insn_ori, M(ori_op, 0, 0, 0, 0, 0), RS | RT | UIMM }, |
104 | { insn_or, M(spec_op, 0, 0, 0, 0, or_op), RS | RT | RD }, | 106 | { insn_or, M(spec_op, 0, 0, 0, 0, or_op), RS | RT | RD }, |