mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-22 19:15:36 +00:00
target/riscv: fix vill bit index in vtype register
vill bit is at vtype[XLEN-1]. Backports fbcbafa2c1c33ae6630e7717f7f4141befb5b31a
This commit is contained in:
parent
61d69c8175
commit
b1e52b7958
|
@ -103,7 +103,7 @@ FIELD(VTYPE, VLMUL, 0, 2)
|
|||
FIELD(VTYPE, VSEW, 2, 3)
|
||||
FIELD(VTYPE, VEDIV, 5, 2)
|
||||
FIELD(VTYPE, RESERVED, 7, sizeof(target_ulong) * 8 - 9)
|
||||
FIELD(VTYPE, VILL, sizeof(target_ulong) * 8 - 2, 1)
|
||||
FIELD(VTYPE, VILL, sizeof(target_ulong) * 8 - 1, 1)
|
||||
|
||||
struct CPURISCVState {
|
||||
target_ulong gpr[32];
|
||||
|
|
Loading…
Reference in a new issue