Skip to content

Commit

Permalink
AArch64: Add arraycopy helpers
Browse files Browse the repository at this point in the history
This commit adds helper entries for arraycopy for AArch64.

Signed-off-by: KONNO Kazuhiro <konno@jp.ibm.com>
  • Loading branch information
knn-k committed Jun 17, 2021
1 parent 92b5140 commit 358645c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions compiler/ras/Debug.cpp
Expand Up @@ -4201,6 +4201,9 @@ TR_Debug::getRuntimeHelperName(int32_t index)
case TR_ARM64doubleRemainder: return "doubleRemainder";
case TR_ARM64floatRemainder: return "floatRemainder";
case TR_ARM64jitCollapseJNIReferenceFrame: return "jitCollapseJNIReferenceFrame";
case TR_ARM64arrayCopy: return "__arrayCopy";
case TR_ARM64forwardArrayCopy: return "__forwardArrayCopy";
case TR_ARM64backwardArrayCopy: return "__backwardArrayCopy";
}
}
#endif
Expand Down
5 changes: 4 additions & 1 deletion compiler/runtime/Helpers.inc
Expand Up @@ -499,7 +499,10 @@ SETVAL(TR_ARM64interpreterUnresolvedConstantDynamicGlue, TR_FSRH+35)
SETVAL(TR_ARM64floatRemainder,TR_FSRH+36)
SETVAL(TR_ARM64doubleRemainder,TR_FSRH+37)
SETVAL(TR_ARM64jitCollapseJNIReferenceFrame,TR_FSRH+38)
SETVAL(TR_ARM64numRuntimeHelpers,TR_FSRH+39)
SETVAL(TR_ARM64arrayCopy,TR_FSRH+39)
SETVAL(TR_ARM64forwardArrayCopy,TR_FSRH+40)
SETVAL(TR_ARM64backwardArrayCopy,TR_FSRH+41)
SETVAL(TR_ARM64numRuntimeHelpers,TR_FSRH+42)

SETVAL(TR_S390longDivide,TR_FSRH)
SETVAL(TR_S390interfaceCallHelper,TR_FSRH+1)
Expand Down

0 comments on commit 358645c

Please sign in to comment.