MIPS: uasm: Add MTHI/MTLO instructions
authorJames Hogan <james.hogan@imgtec.com>
Thu, 23 Jun 2016 16:34:37 +0000 (17:34 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Jul 2016 14:08:35 +0000 (16:08 +0200)
commit9f730a60e5a046230cff8c9f4c8eb73f6dca7d81
tree9d5b4804713cfbbd7da6fc182c084ddb9a7f37e9
parent61c64cf99ae589af3835dbc9bb57200d4a4842ae
MIPS: uasm: Add MTHI/MTLO instructions

Add MTHI/MTLO instructions for writing to the hi & lo registers to uasm
so that KVM can use uasm for generating its entry point code at runtime.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/include/asm/uasm.h
arch/mips/include/uapi/asm/inst.h
arch/mips/mm/uasm-micromips.c
arch/mips/mm/uasm-mips.c
arch/mips/mm/uasm.c