mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
RISC-V: Adding T-Head FMemIdx extension
This patch adds support for the T-Head FMemIdx instructions. The patch uses the T-Head specific decoder and translation. Co-developed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu> Message-Id: <20230131202013.2541053-11-christoph.muellner@vrull.eu> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
45f9df86db
commit
d4d901157e
5 changed files with 123 additions and 1 deletions
|
@ -100,6 +100,16 @@ th_l2cache_iall 0000000 10110 00000 000 00000 0001011
|
|||
th_mveqz 0100000 ..... ..... 001 ..... 0001011 @r
|
||||
th_mvnez 0100001 ..... ..... 001 ..... 0001011 @r
|
||||
|
||||
# XTheadFMemIdx
|
||||
th_flrd 01100 .. ..... ..... 110 ..... 0001011 @th_memidx
|
||||
th_flrw 01000 .. ..... ..... 110 ..... 0001011 @th_memidx
|
||||
th_flurd 01110 .. ..... ..... 110 ..... 0001011 @th_memidx
|
||||
th_flurw 01010 .. ..... ..... 110 ..... 0001011 @th_memidx
|
||||
th_fsrd 01100 .. ..... ..... 111 ..... 0001011 @th_memidx
|
||||
th_fsrw 01000 .. ..... ..... 111 ..... 0001011 @th_memidx
|
||||
th_fsurd 01110 .. ..... ..... 111 ..... 0001011 @th_memidx
|
||||
th_fsurw 01010 .. ..... ..... 111 ..... 0001011 @th_memidx
|
||||
|
||||
# XTheadMac
|
||||
th_mula 00100 00 ..... ..... 001 ..... 0001011 @r
|
||||
th_mulah 00101 00 ..... ..... 001 ..... 0001011 @r
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue