File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -213,13 +213,8 @@ void VM_Version::common_initialize() {
213
213
}
214
214
215
215
if (UseRVV) {
216
- if (!ext_V.enabled () && FLAG_IS_DEFAULT (UseRVV)) {
217
- warning (" RVV is not supported on this CPU" );
218
- FLAG_SET_DEFAULT (UseRVV, false );
219
- } else {
220
- // read vector length from vector CSR vlenb
221
- _initial_vector_length = cpu_vector_length ();
222
- }
216
+ // read vector length from vector CSR vlenb
217
+ _initial_vector_length = cpu_vector_length ();
223
218
}
224
219
225
220
// Misc Intrinsics that could depend on RVV.
Original file line number Diff line number Diff line change 100
100
#endif
101
101
102
102
uint32_t VM_Version::cpu_vector_length () {
103
- assert (ext_V.enabled (), " should not call this" );
104
103
return (uint32_t )read_csr (CSR_VLENB);
105
104
}
106
105
You can’t perform that action at this time.
0 commit comments