aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Min Chao <chihmin.chao@sifive.com>2020-04-07 01:34:57 -0700
committerChih-Min Chao <chihmin.chao@sifive.com>2020-04-15 02:16:52 -0700
commit0e8d076f9917a2772a96e3c2366fb923d28d39ee (patch)
tree408e3e6c6f291cf184f5763b56b2a174d529e9ad
parent4a21ace1a0870f976ba0343ac91e6f458ccdd3a2 (diff)
downloadspike-0e8d076f9917a2772a96e3c2366fb923d28d39ee.zip
spike-0e8d076f9917a2772a96e3c2366fb923d28d39ee.tar.gz
spike-0e8d076f9917a2772a96e3c2366fb923d28d39ee.tar.bz2
rvv: WIDE_END loop macro
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
-rw-r--r--riscv/decode.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/riscv/decode.h b/riscv/decode.h
index f2cff83..f3b1d7b 100644
--- a/riscv/decode.h
+++ b/riscv/decode.h
@@ -1679,11 +1679,6 @@ for (reg_t i = 0; i < vlmax && P.VU.vl != 0; ++i) { \
} \
P.VU.vstart = 0; \
-#define VI_VFP_LOOP_WIDE_END \
- } \
- P.VU.vstart = 0; \
- set_fp_exceptions;
-
#define VI_VFP_LOOP_REDUCTION_END(x) \
} \
P.VU.vstart = 0; \
@@ -1903,7 +1898,7 @@ for (reg_t i = 0; i < vlmax && P.VU.vl != 0; ++i) { \
break; \
}; \
DEBUG_RVV_FP_VV; \
- VI_VFP_LOOP_WIDE_END
+ VI_VFP_LOOP_END
#define VI_VFP_VV_LOOP_WIDE(BODY) \
@@ -1925,7 +1920,7 @@ for (reg_t i = 0; i < vlmax && P.VU.vl != 0; ++i) { \
break; \
}; \
DEBUG_RVV_FP_VV; \
- VI_VFP_LOOP_WIDE_END
+ VI_VFP_LOOP_END
#define VI_VFP_WF_LOOP_WIDE(BODY) \
VI_CHECK_DDS(false); \
@@ -1945,7 +1940,7 @@ for (reg_t i = 0; i < vlmax && P.VU.vl != 0; ++i) { \
require(0); \
}; \
DEBUG_RVV_FP_VV; \
- VI_VFP_LOOP_WIDE_END
+ VI_VFP_LOOP_END
#define VI_VFP_WV_LOOP_WIDE(BODY) \
VI_CHECK_DDS(true); \
@@ -1965,7 +1960,7 @@ for (reg_t i = 0; i < vlmax && P.VU.vl != 0; ++i) { \
require(0); \
}; \
DEBUG_RVV_FP_VV; \
- VI_VFP_LOOP_WIDE_END
+ VI_VFP_LOOP_END
#define DEBUG_START 0x0