Class VectorizedMismatchNode
java.lang.Object
jdk.graal.compiler.graph.Node
jdk.graal.compiler.nodes.ValueNode
jdk.graal.compiler.nodes.FixedNode
jdk.graal.compiler.nodes.FixedWithNextNode
jdk.graal.compiler.replacements.nodes.PureFunctionStubIntrinsicNode
jdk.graal.compiler.replacements.nodes.VectorizedMismatchNode
- All Implemented Interfaces:
Cloneable
,Formattable
,FixedNodeInterface
,FixedWithNextNodeInterface
,MemoryAccess
,LIRLowerable
,ValueNodeInterface
,IntrinsicMethodNodeInterface
Returns the index of the first non-equal elements in two memory regions, or -1 if they are equal.
-
Nested Class Summary
Nested classes/interfaces inherited from class jdk.graal.compiler.graph.Node
Node.ConstantNodeParameter, Node.EdgeVisitor, Node.IndirectInputChangedCanonicalization, Node.InjectedNodeParameter, Node.Input, Node.InputsChangedCanonicalization, Node.NodeInsertionStackTrace, Node.NodeIntrinsic, Node.NodeIntrinsicFactory, Node.OptionalInput, Node.Successor, Node.ValueNumberable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ValueNode
Direct pointer to memory region A.protected ValueNode
Direct pointer to memory region B.protected ValueNode
Length of the memory region (as number of array elements).protected ValueNode
Element size in log2 format (0: byte, 1: char, 2: int, 3: long).static final ForeignCallDescriptor
static final NodeClass
<VectorizedMismatchNode> Fields inherited from class jdk.graal.compiler.replacements.nodes.PureFunctionStubIntrinsicNode
locationIdentity, runtimeCheckedCPUFeatures
Fields inherited from class jdk.graal.compiler.nodes.FixedWithNextNode
next
Fields inherited from class jdk.graal.compiler.nodes.ValueNode
EMPTY_ARRAY, stamp
Fields inherited from class jdk.graal.compiler.graph.Node
NOT_ITERABLE, TRACK_CREATION_POSITION, WithAllEdges, WithOnlyInputEdges
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
VectorizedMismatchNode
(NodeClass<? extends VectorizedMismatchNode> c, ValueNode arrayA, ValueNode arrayB, ValueNode length, ValueNode stride, EnumSet<?> runtimeCheckedCPUFeatures) VectorizedMismatchNode
(ValueNode arrayA, ValueNode arrayB, ValueNode length, ValueNode stride) VectorizedMismatchNode
(ValueNode arrayA, ValueNode arrayB, ValueNode length, ValueNode stride, EnumSet<?> runtimeCheckedCPUFeatures) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Emit the method body.static boolean
isSupported
(jdk.vm.ci.code.Architecture arch) static int
vectorizedMismatch
(org.graalvm.word.Pointer arrayA, org.graalvm.word.Pointer arrayB, int length, int stride) static int
vectorizedMismatch
(org.graalvm.word.Pointer arrayA, org.graalvm.word.Pointer arrayB, int length, int stride, EnumSet<?> runtimeCheckedCPUFeatures) Methods inherited from class jdk.graal.compiler.replacements.nodes.PureFunctionStubIntrinsicNode
getLastLocationAccess, getLocationIdentity, getRuntimeCheckedCPUFeatures, setLastLocationAccess
Methods inherited from class jdk.graal.compiler.nodes.FixedWithNextNode
asFixedWithNextNode, next, setNext
Methods inherited from class jdk.graal.compiler.nodes.FixedNode
asFixedNode, verifyNode
Methods inherited from class jdk.graal.compiler.nodes.ValueNode
asConstant, asJavaConstant, asNode, checkReplaceAtUsagesInvariants, getStackKind, graph, hasUsagesOtherThan, inferStamp, isAllowedUsageType, isConstant, isConstantPredicate, isDefaultConstant, isIllegalConstant, isJavaConstant, isNullConstant, recursivelyDataFlowEqualsUpTo, setStamp, stamp, updateStamp, updateUsagesInterface
Methods inherited from class jdk.graal.compiler.graph.Node
afterClone, applyInputs, applySuccessors, assertFalse, assertTrue, cfgPredecessors, cfgSuccessors, clearInputs, clearNodeSourcePosition, clearSuccessors, copyWithInputs, copyWithInputs, dataFlowEquals, dynamicNodeSizeEstimate, estimatedNodeCycles, estimatedNodeSize, fail, formatTo, getCreationPosition, getDebug, getDebugProperties, getDebugProperties, getId, getIdBeforeDeletion, getInsertionPosition, getNodeClass, getNodeSourcePosition, getOptions, getUsageCount, hasExactlyOneUsage, hasExactlyOneUsageOfType, hashCode, hasMoreThanOneUsage, hasNoUsages, hasUsages, inputPositions, inputs, isAlive, isDeleted, isUnregistered, markDeleted, maybeNotifyZeroUsages, modCount, predecessor, pushInputs, removeDeadUsages, removeUsage, removeUsages, replaceAllInputs, replaceAndDelete, replaceAtAllUsages, replaceAtMatchingUsages, replaceAtPredecessor, replaceAtUsages, replaceAtUsages, replaceAtUsages, replaceAtUsages, replaceAtUsages, replaceAtUsagesAndDelete, replaceFirstInput, replaceFirstSuccessor, safeDelete, setCreationPosition, setInsertionPosition, setNodeSourcePosition, singleUsage, successorPositions, successors, toString, toString, updateNodeSourcePosition, updatePredecessor, updateUsages, usages, valueEquals, verify, verify, verifyEdges, verifyInputs, withNodeSourcePosition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface jdk.graal.compiler.nodes.FixedNodeInterface
asFixedNode
Methods inherited from interface jdk.graal.compiler.replacements.nodes.IntrinsicMethodNodeInterface
canBeEmitted, generate, graph
Methods inherited from interface jdk.graal.compiler.nodes.ValueNodeInterface
asNode
-
Field Details
-
TYPE
-
STUB
-
arrayA
Direct pointer to memory region A. -
arrayB
Direct pointer to memory region B. -
length
Length of the memory region (as number of array elements). The caller is responsible for ensuring that the region, starting at the respective offset, is within array bounds. -
stride
Element size in log2 format (0: byte, 1: char, 2: int, 3: long).
-
-
Constructor Details
-
VectorizedMismatchNode
-
VectorizedMismatchNode
-
VectorizedMismatchNode
-
-
Method Details
-
vectorizedMismatch
public static int vectorizedMismatch(org.graalvm.word.Pointer arrayA, org.graalvm.word.Pointer arrayB, int length, int stride) -
vectorizedMismatch
public static int vectorizedMismatch(org.graalvm.word.Pointer arrayA, org.graalvm.word.Pointer arrayB, int length, int stride, EnumSet<?> runtimeCheckedCPUFeatures) -
getForeignCallDescriptor
-
getForeignCallArguments
-
emitIntrinsic
Description copied from interface:IntrinsicMethodNodeInterface
Emit the method body. -
isSupported
public static boolean isSupported(jdk.vm.ci.code.Architecture arch)
-