Commit 03ff99a 1 parent 18c3fd4 commit 03ff99a Copy full SHA for 03ff99a
File tree 1 file changed +1
-13
lines changed
1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -440,19 +440,7 @@ void VM_Version::initialize() {
440
440
}
441
441
442
442
if (UseSVE > 0 ) {
443
- int vl = get_current_sve_vector_length ();
444
- if (vl < 0 ) {
445
- warning (" Unable to get SVE vector length on this system. "
446
- " Disabling SVE. Specify -XX:UseSVE=0 to shun this warning." );
447
- FLAG_SET_DEFAULT (UseSVE, 0 );
448
- } else if ((vl == 0 ) || ((vl % FloatRegister::sve_vl_min) != 0 ) || !is_power_of_2 (vl)) {
449
- warning (" Detected SVE vector length (%d) should be a power of two and a multiple of %d. "
450
- " Disabling SVE. Specify -XX:UseSVE=0 to shun this warning." ,
451
- vl, FloatRegister::sve_vl_min);
452
- FLAG_SET_DEFAULT (UseSVE, 0 );
453
- } else {
454
- _initial_sve_vector_length = vl;
455
- }
443
+ _initial_sve_vector_length = get_current_sve_vector_length ();
456
444
}
457
445
458
446
// This machine allows unaligned memory accesses
You can’t perform that action at this time.
0 commit comments