aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vsmul_vx.h
diff options
context:
space:
mode:
authorScott Johnson <scott.johnson@arilinc.com>2021-09-29 08:56:11 -0700
committerScott Johnson <scott.johnson@arilinc.com>2021-09-29 14:08:35 -0700
commit52c23a28c519449a874cd7ea2ec0479b63a3b173 (patch)
tree60900de295c37c8fd1f712397ab2d911310c9227 /riscv/insns/vsmul_vx.h
parent7078352fab402ed589c892164bb30974669a5510 (diff)
downloadspike-52c23a28c519449a874cd7ea2ec0479b63a3b173.zip
spike-52c23a28c519449a874cd7ea2ec0479b63a3b173.tar.gz
spike-52c23a28c519449a874cd7ea2ec0479b63a3b173.tar.bz2
Be consistent in use of P_SET_OV macro for setting vxsat
Diffstat (limited to 'riscv/insns/vsmul_vx.h')
-rw-r--r--riscv/insns/vsmul_vx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/vsmul_vx.h b/riscv/insns/vsmul_vx.h
index cf4b511..2e25670 100644
--- a/riscv/insns/vsmul_vx.h
+++ b/riscv/insns/vsmul_vx.h
@@ -26,7 +26,7 @@ VI_VX_LOOP
// max saturation
if (overflow) {
result = int_max;
- P.VU.vxsat |= 1;
+ P_SET_OV(1);
}
vd = result;