mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
target/riscv: Remove the hret instruction
The hret instruction does not exist in the new spec versions, so remove it from QEMU. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
parent
895c412cb6
commit
0736febb2d
2 changed files with 0 additions and 6 deletions
|
@ -75,7 +75,6 @@ ecall 000000000000 00000 000 00000 1110011
|
|||
ebreak 000000000001 00000 000 00000 1110011
|
||||
uret 0000000 00010 00000 000 00000 1110011
|
||||
sret 0001000 00010 00000 000 00000 1110011
|
||||
hret 0010000 00010 00000 000 00000 1110011
|
||||
mret 0011000 00010 00000 000 00000 1110011
|
||||
wfi 0001000 00101 00000 000 00000 1110011
|
||||
hfence_gvma 0110001 ..... ..... 000 00000 1110011 @hfence_gvma
|
||||
|
|
|
@ -58,11 +58,6 @@ static bool trans_sret(DisasContext *ctx, arg_sret *a)
|
|||
#endif
|
||||
}
|
||||
|
||||
static bool trans_hret(DisasContext *ctx, arg_hret *a)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool trans_mret(DisasContext *ctx, arg_mret *a)
|
||||
{
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
|
|
Loading…
Reference in a new issue