8344393: RISC-V: Remove option UseRVVForBigIntegerShiftIntrinsics
Reviewed-by: mli, fjiang
This commit is contained in:
parent
7540fa2147
commit
0d66689177
@ -117,8 +117,6 @@ define_pd_global(intx, InlineSmallCode, 1000);
|
||||
product(bool, UseZvfh, false, DIAGNOSTIC, "Use Zvfh instructions") \
|
||||
product(bool, UseZvkn, false, EXPERIMENTAL, \
|
||||
"Use Zvkn group extension, Zvkned, Zvknhb, Zvkb, Zvkt") \
|
||||
product(bool, UseRVVForBigIntegerShiftIntrinsics, true, \
|
||||
"Use RVV instructions for left/right shift of BigInteger") \
|
||||
product(bool, UseCtxFencei, false, EXPERIMENTAL, \
|
||||
"Use PR_RISCV_CTX_SW_FENCEI_ON to avoid explicit icache flush")
|
||||
|
||||
|
@ -6502,7 +6502,7 @@ static const int64_t right_3_bits = right_n_bits(3);
|
||||
StubRoutines::_poly1305_processBlocks = generate_poly1305_processBlocks();
|
||||
}
|
||||
|
||||
if (UseRVVForBigIntegerShiftIntrinsics) {
|
||||
if (UseRVV) {
|
||||
StubRoutines::_bigIntegerLeftShiftWorker = generate_bigIntegerLeftShift();
|
||||
StubRoutines::_bigIntegerRightShiftWorker = generate_bigIntegerRightShift();
|
||||
}
|
||||
|
@ -233,7 +233,6 @@ void VM_Version::c2_initialize() {
|
||||
|
||||
if (!UseRVV) {
|
||||
FLAG_SET_DEFAULT(MaxVectorSize, 0);
|
||||
FLAG_SET_DEFAULT(UseRVVForBigIntegerShiftIntrinsics, false);
|
||||
} else {
|
||||
if (!FLAG_IS_DEFAULT(MaxVectorSize) && MaxVectorSize != _initial_vector_length) {
|
||||
warning("Current system does not support RVV vector length for MaxVectorSize %d. Set MaxVectorSize to %d",
|
||||
|
@ -76,9 +76,6 @@ public class RISCV64HotSpotJVMCIBackendFactory implements HotSpotJVMCIBackendFac
|
||||
if (config.useZbb) {
|
||||
flags.add(RISCV64.Flag.UseZbb);
|
||||
}
|
||||
if (config.useRVVForBigIntegerShiftIntrinsics) {
|
||||
flags.add(RISCV64.Flag.UseRVVForBigIntegerShiftIntrinsics);
|
||||
}
|
||||
|
||||
return flags;
|
||||
}
|
||||
|
@ -50,7 +50,6 @@ class RISCV64HotSpotVMConfig extends HotSpotVMConfigAccess {
|
||||
final boolean useRVC = getFlag("UseRVC", Boolean.class);
|
||||
final boolean useZba = getFlag("UseZba", Boolean.class);
|
||||
final boolean useZbb = getFlag("UseZbb", Boolean.class);
|
||||
final boolean useRVVForBigIntegerShiftIntrinsics = getFlag("UseRVVForBigIntegerShiftIntrinsics", Boolean.class);
|
||||
|
||||
final long vmVersionFeatures = getFieldValue("Abstract_VM_Version::_features", Long.class, "uint64_t");
|
||||
}
|
||||
|
@ -170,8 +170,7 @@ public class RISCV64 extends Architecture {
|
||||
UseRVV,
|
||||
UseRVC,
|
||||
UseZba,
|
||||
UseZbb,
|
||||
UseRVVForBigIntegerShiftIntrinsics
|
||||
UseZbb
|
||||
}
|
||||
|
||||
private final EnumSet<Flag> flags;
|
||||
|
Loading…
Reference in New Issue
Block a user