mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-26 20:35:11 +00:00
target/riscv: Remove the hret instruction
The hret instruction does not exist in the new spec versions, so remove it from QEMU. Backports commit 0736febb2d0e1bb503ca07091c16a16e78480366 from qemu
This commit is contained in:
parent
13a7b74827
commit
1e17cbc52c
|
@ -75,7 +75,6 @@ ecall 000000000000 00000 000 00000 1110011
|
||||||
ebreak 000000000001 00000 000 00000 1110011
|
ebreak 000000000001 00000 000 00000 1110011
|
||||||
uret 0000000 00010 00000 000 00000 1110011
|
uret 0000000 00010 00000 000 00000 1110011
|
||||||
sret 0001000 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
|
mret 0011000 00010 00000 000 00000 1110011
|
||||||
wfi 0001000 00101 00000 000 00000 1110011
|
wfi 0001000 00101 00000 000 00000 1110011
|
||||||
hfence_gvma 0110001 ..... ..... 000 00000 1110011 @hfence_gvma
|
hfence_gvma 0110001 ..... ..... 000 00000 1110011 @hfence_gvma
|
||||||
|
|
|
@ -59,11 +59,6 @@ static bool trans_sret(DisasContext *ctx, arg_sret *a)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool trans_hret(DisasContext *ctx, arg_hret *a)
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool trans_mret(DisasContext *ctx, arg_mret *a)
|
static bool trans_mret(DisasContext *ctx, arg_mret *a)
|
||||||
{
|
{
|
||||||
#ifndef CONFIG_USER_ONLY
|
#ifndef CONFIG_USER_ONLY
|
||||||
|
|
Loading…
Reference in a new issue