mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
target/riscv: add Zicbop cbo.prefetch{i, r, m} placeholder
The cmo.prefetch instructions are nops for QEMU (no emulation of the memory hierarchy, no illegal instructions, no permission faults, no traps). Add a comment noting where they would be decoded in case cbo.prefetch instructions become relevant in the future. Co-developed-by: Philipp Tomsich <[email protected]> Signed-off-by: Christoph Muellner <[email protected]> Signed-off-by: Daniel Henrique Barboza <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Reviewed-by: Weiwei Li <[email protected]> Message-ID: <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
This commit is contained in:
1 parent
e05da09b7c
commit
59cb29d6a5
1 file changed
+1
@@ -134,6 +134,7 @@ addi ............ ..... 000 ..... 0010011 @i
|
||||
slti ............ ..... 010 ..... 0010011 @i
|
||||
sltiu ............ ..... 011 ..... 0010011 @i
|
||||
xori ............ ..... 100 ..... 0010011 @i
|
||||
# cbo.prefetch_{i,r,m} instructions are ori with rd=x0 and not decoded.
|
||||
ori ............ ..... 110 ..... 0010011 @i
|
||||
andi ............ ..... 111 ..... 0010011 @i
|
||||
slli 00000. ...... ..... 001 ..... 0010011 @sh
|
||||
|
||||
Reference in new issue
Block a user