public class WordTest extends GraalCompilerTest implements Snippets
Word
type.GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
private ReplacementsImpl |
installer |
lastCompiledGraph
Constructor and Description |
---|
WordTest() |
Modifier and Type | Method and Description |
---|---|
static boolean |
above(long word1,
long word2) |
static boolean |
aboveOrEqual(long word1,
long word2) |
static long |
andInt(long word,
int addend) |
static long |
andLong(long word,
long addend) |
static boolean |
below(long word1,
long word2) |
static boolean |
belowOrEqual(long word1,
long word2) |
static long |
cast(long input) |
void |
construction() |
static long |
orInt(long word,
int addend) |
static long |
orLong(long word,
long addend) |
protected StructuredGraph |
parseEager(ResolvedJavaMethod m,
StructuredGraph.AllowAssumptions allowAssumptions)
Parses a Java method in eager mode to
produce a graph.
|
static long |
signedInt(int word) |
static long |
signedLong(long word) |
static long |
signedMinusInt(long word,
int addend) |
static long |
signedMinusLong(long word,
long addend) |
static long |
signedNot(long word) |
static long |
signedPlusInt(long word,
int addend) |
static long |
signedPlusLong(long word,
long addend) |
void |
testArithmetic() |
void |
testCast() |
void |
testCompare() |
static long |
unsignedInt(int word) |
static long |
unsignedLong(long word) |
static long |
unsignedMinusInt(long word,
int addend) |
static long |
unsignedMinusLong(long word,
long addend) |
static long |
unsignedNot(long word) |
static long |
unsignedPlusInt(long word,
int addend) |
static long |
unsignedPlusLong(long word,
long addend) |
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, parseForCompile, parseProfiled, parseProfiled, referenceInvoke, supply, test, test, testAgainstExpected, testAgainstExpected, testN
assertDeepEquals, assertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDelta
private final ReplacementsImpl installer
public WordTest()
protected StructuredGraph parseEager(ResolvedJavaMethod m, StructuredGraph.AllowAssumptions allowAssumptions)
GraalCompilerTest
parseEager
in class GraalCompilerTest
public void construction()
public void testArithmetic()
public void testCompare()
public void testCast()
public static long cast(long input)
public static long unsignedLong(long word)
public static long unsignedInt(int word)
public static long signedLong(long word)
public static long signedInt(int word)
public static long unsignedPlusInt(long word, int addend)
public static long unsignedMinusInt(long word, int addend)
public static long unsignedPlusLong(long word, long addend)
public static long unsignedMinusLong(long word, long addend)
public static long signedPlusInt(long word, int addend)
public static long signedMinusInt(long word, int addend)
public static long signedPlusLong(long word, long addend)
public static long signedMinusLong(long word, long addend)
public static long signedNot(long word)
public static long unsignedNot(long word)
public static boolean aboveOrEqual(long word1, long word2)
public static boolean above(long word1, long word2)
public static boolean belowOrEqual(long word1, long word2)
public static boolean below(long word1, long word2)
public static long andInt(long word, int addend)
public static long orInt(long word, int addend)
public static long andLong(long word, long addend)
public static long orLong(long word, long addend)