public class FloatOptimizationTest extends GraalCompilerTest
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
lastCompiledGraph
Constructor and Description |
---|
FloatOptimizationTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertDeepEquals(String message,
Object expected,
Object actual,
double delta)
Compares two given values for equality, doing a recursive test if both values are arrays of
the same type.
|
void |
test1() |
static double |
test1Snippet(double x) |
void |
test2() |
static double |
test2Snippet(float x) |
void |
test3() |
static double |
test3Snippet(double x) |
void |
test4() |
static double |
test4Snippet(float x) |
addMethod, after, afterTest, applyArgSuppliers, argsWithReceiver, asResolvedJavaMethod, assertConstantReturn, assertEquals, assertEquals, assertEquals, before, beforeTest, branchProbability, breakpoint, breakpoint, checkArgs, checkHighTierGraph, checkLowTierGraph, checkMidTierGraph, compile, countUnusedConstants, createLIRSuites, createSuites, editGraphBuilderConfiguration, executeActual, executeActualCheckDeopt, executeExpected, getBackend, getCanonicalGraphString, getCode, getCode, getCode, getCodeCache, getConstantReflection, getCustomGraphBuilderSuite, getDefaultGraphBuilderPlugins, getDefaultGraphBuilderSuite, getDefaultHighTierContext, getLIRSuites, getLowerer, getMetaAccess, getNodeCountExcludingUnusedConstants, getProviders, getReplacements, getResolvedJavaMethod, getResolvedJavaMethod, getResolvedJavaMethod, getSnippetReflection, getSpeculationLog, getSuites, getTarget, initializeDebugging, invoke, isArchitecture, iterationCount, lookupMethod, parseDebug, parseEager, parseEager, parseForCompile, parseProfiled, parseProfiled, referenceInvoke, supply, test, test, testAgainstExpected, testAgainstExpected, testN
assertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDelta
public FloatOptimizationTest()
public void test1()
public static double test1Snippet(double x)
public void test2()
public static double test2Snippet(float x)
public void test3()
public static double test3Snippet(double x)
public void test4()
public static double test4Snippet(float x)
protected void assertDeepEquals(String message, Object expected, Object actual, double delta)
GraalTest
assertDeepEquals
in class GraalTest
message
- the identifying message for the AssertionError
delta
- the maximum delta between two doubles or floats for which both numbers are still
considered equal.