use of org.graalvm.compiler.hotspot.HotSpotBackend in project graal by oracle.
the class StubAVXTest method checkAMD64.
@Before
public void checkAMD64() {
Assume.assumeTrue("skipping AMD64 specific test", getTarget().arch instanceof AMD64);
Assume.assumeTrue("skipping AVX test", ((AMD64) getTarget().arch).getFeatures().contains(CPUFeature.AVX));
if (getBackend() instanceof HotSpotBackend) {
HotSpotBackend backend = (HotSpotBackend) getBackend();
Assume.assumeTrue("skipping because of MaxVectorSize", backend.getRuntime().getVMConfig().maxVectorSize >= 32);
}
}
Aggregations