diff options
Diffstat (limited to 'riscv/processor.h')
-rw-r--r-- | riscv/processor.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/riscv/processor.h b/riscv/processor.h index eae4581..ae15cc7 100644 --- a/riscv/processor.h +++ b/riscv/processor.h @@ -200,9 +200,7 @@ struct vectorUnit_t { reg_t get_slen() { return SLEN; } VRM get_vround_mode() { - uint32_t rm = BITS(vxrm, 0, 2); - assert( rm < VRM::INVALID_RM ); - return (VRM)rm; + return (VRM)vxrm; } }; |