mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
target/loongarch: Add LoongArch IOCSR instruction
This includes: - IOCSR{RD/WR}.{B/H/W/D} Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220606124333.2060567-27-yangxiaojuan@loongson.cn> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
5b1dedfe84
commit
f84a2aacf5
8 changed files with 197 additions and 0 deletions
|
@ -615,6 +615,14 @@ INSN(bgeu, rr_offs)
|
|||
INSN(csrrd, r_csr)
|
||||
INSN(csrwr, r_csr)
|
||||
INSN(csrxchg, rr_csr)
|
||||
INSN(iocsrrd_b, rr)
|
||||
INSN(iocsrrd_h, rr)
|
||||
INSN(iocsrrd_w, rr)
|
||||
INSN(iocsrrd_d, rr)
|
||||
INSN(iocsrwr_b, rr)
|
||||
INSN(iocsrwr_h, rr)
|
||||
INSN(iocsrwr_w, rr)
|
||||
INSN(iocsrwr_d, rr)
|
||||
|
||||
#define output_fcmp(C, PREFIX, SUFFIX) \
|
||||
{ \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue