diff options
author | Andrew Waterman <andrew@sifive.com> | 2020-09-24 17:05:15 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2020-09-24 17:05:43 -0700 |
commit | 77024fa1d1303b1274ff25de335ef8e67092b201 (patch) | |
tree | a8951c0eb33db7b27c253ae98483c13faa72307e /riscv/insns/hlv_d.h | |
parent | 43003ea3ed9d2c1a1c060416da91ccf5b044c55c (diff) | |
download | spike-77024fa1d1303b1274ff25de335ef8e67092b201.zip spike-77024fa1d1303b1274ff25de335ef8e67092b201.tar.gz spike-77024fa1d1303b1274ff25de335ef8e67092b201.tar.bz2 |
Fix priority of virtual vs. illegal instruction exceptions for HLV/HSV
Resolves #551
Diffstat (limited to 'riscv/insns/hlv_d.h')
-rw-r--r-- | riscv/insns/hlv_d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/hlv_d.h b/riscv/insns/hlv_d.h index 38728fa..1bbd027 100644 --- a/riscv/insns/hlv_d.h +++ b/riscv/insns/hlv_d.h @@ -1,5 +1,5 @@ require_extension('H'); require_rv64; -require_privilege(get_field(STATE.hstatus, HSTATUS_HU) ? PRV_U : PRV_S); require_novirt(); +require_privilege(get_field(STATE.hstatus, HSTATUS_HU) ? PRV_U : PRV_S); WRITE_RD(MMU.guest_load_int64(RS1)); |