mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03: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
|
@ -450,3 +450,12 @@ bgeu 0110 11 ................ ..... ..... @rr_offs16
|
|||
csrwr 0000 0100 .............. 00001 ..... @r_csr
|
||||
csrxchg 0000 0100 .............. ..... ..... @rr_csr
|
||||
}
|
||||
|
||||
iocsrrd_b 0000 01100100 10000 00000 ..... ..... @rr
|
||||
iocsrrd_h 0000 01100100 10000 00001 ..... ..... @rr
|
||||
iocsrrd_w 0000 01100100 10000 00010 ..... ..... @rr
|
||||
iocsrrd_d 0000 01100100 10000 00011 ..... ..... @rr
|
||||
iocsrwr_b 0000 01100100 10000 00100 ..... ..... @rr
|
||||
iocsrwr_h 0000 01100100 10000 00101 ..... ..... @rr
|
||||
iocsrwr_w 0000 01100100 10000 00110 ..... ..... @rr
|
||||
iocsrwr_d 0000 01100100 10000 00111 ..... ..... @rr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue