jdk.graal.compiler.asm.amd64.AMD64Assembler_OptionDescriptors Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compiler Show documentation
Show all versions of compiler Show documentation
The GraalVM compiler and the Graal-truffle optimizer.
// CheckStyle: stop header check
// CheckStyle: stop line length check
// GENERATED CONTENT - DO NOT EDIT
// Source: AMD64Assembler.java
package jdk.graal.compiler.asm.amd64;
import java.util.*;
import jdk.graal.compiler.options.*;
import jdk.graal.compiler.options.OptionType;
import jdk.graal.compiler.options.OptionStability;
public class AMD64Assembler_OptionDescriptors implements OptionDescriptors {
@Override
public OptionDescriptor get(String value) {
switch (value) {
// CheckStyle: stop line length check
case "UseBranchesWithin32ByteBoundary": {
return OptionDescriptor.create(
/*name*/ "UseBranchesWithin32ByteBoundary",
/*optionType*/ OptionType.User,
/*optionValueType*/ Boolean.class,
/*help*/ "Forces branch instructions to align with 32-bytes boundaries, to mitigate the jcc erratum. See https://www.intel.com/content/dam/support/us/en/documents/processors/mitigations-jump-conditional-code-erratum.pdf for more details. If not set explicitly, the default value is determined according to the CPU model..",
/*declaringClass*/ AMD64Assembler.Options.class,
/*fieldName*/ "UseBranchesWithin32ByteBoundary",
/*option*/ AMD64Assembler.Options.UseBranchesWithin32ByteBoundary,
/*stability*/ OptionStability.EXPERIMENTAL,
/*deprecated*/ false,
/*deprecationMessage*/ "");
}
// CheckStyle: resume line length check
}
return null;
}
@Override
public Iterator iterator() {
return new Iterator<>() {
int i = 0;
@Override
public boolean hasNext() {
return i < 1;
}
@Override
public OptionDescriptor next() {
switch (i++) {
case 0: return get("UseBranchesWithin32ByteBoundary");
}
throw new NoSuchElementException();
}
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy