Skip to content

Commit

Permalink
Merge pull request #7338 from knn-k/aarch64removeACHelpers
Browse files Browse the repository at this point in the history
AArch64: Remove obsolete arraycopy helpers
  • Loading branch information
0xdaryl authored May 17, 2024
2 parents 63c4bae + ae597ce commit 76296e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 39 deletions.
18 changes: 0 additions & 18 deletions compiler/aarch64/runtime/ARM64arrayCopy.spp
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,6 @@
.text
.align 2

// Obsolete entry points to be removed
FUNC_LABEL(__fwHalfWordArrayCopy):
ret
FUNC_LABEL(__fwWordArrayCopy):
ret
FUNC_LABEL(__fwDoubleWordArrayCopy):
ret
FUNC_LABEL(__fwQuadWordArrayCopy):
ret
FUNC_LABEL(__bwHalfWordArrayCopy):
ret
FUNC_LABEL(__bwWordArrayCopy):
ret
FUNC_LABEL(__bwDoubleWordArrayCopy):
ret
FUNC_LABEL(__bwQuadWordArrayCopy):
ret

// This is a generic entry point that will determine which direction(forward/backward) to copy as appropriate.
//
// in: x0 - length in bytes
Expand Down
8 changes: 0 additions & 8 deletions compiler/ras/Debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4252,14 +4252,6 @@ TR_Debug::getRuntimeHelperName(int32_t index)
case TR_ARM64arrayCopy: return "__arrayCopy";
case TR_ARM64forwardArrayCopy: return "__forwardArrayCopy";
case TR_ARM64backwardArrayCopy: return "__backwardArrayCopy";
case TR_ARM64forwardQuadWordArrayCopy: return "__fwQuadWordArrayCopy";
case TR_ARM64forwardDoubleWordArrayCopy: return "__fwDoubleWordArrayCopy";
case TR_ARM64forwardWordArrayCopy: return "__fwWordArrayCopy";
case TR_ARM64forwardHalfWordArrayCopy: return "__fwHalfWordArrayCopy";
case TR_ARM64backwardQuadWordArrayCopy: return "__bwQuadWordArrayCopy";
case TR_ARM64backwardDoubleWordArrayCopy: return "__bwDoubleWordArrayCopy";
case TR_ARM64backwardWordArrayCopy: return "__bwWordArrayCopy";
case TR_ARM64backwardHalfWordArrayCopy: return "__bwHalfWordArrayCopy";
case TR_ARM64interfaceCompleteSlot2: return "_interfaceCompleteSlot2";
case TR_ARM64interfaceSlotsUnavailable: return "_interfaceSlotsUnavailable";
case TR_ARM64PatchGCRHelper: return "_patchGCRHelper" ;
Expand Down
18 changes: 5 additions & 13 deletions compiler/runtime/Helpers.inc
Original file line number Diff line number Diff line change
Expand Up @@ -507,19 +507,11 @@ SETVAL(TR_ARM64jitCollapseJNIReferenceFrame,TR_FSRH+38)
SETVAL(TR_ARM64arrayCopy,TR_FSRH+39)
SETVAL(TR_ARM64forwardArrayCopy,TR_FSRH+40)
SETVAL(TR_ARM64backwardArrayCopy,TR_FSRH+41)
SETVAL(TR_ARM64forwardQuadWordArrayCopy,TR_FSRH+42)
SETVAL(TR_ARM64forwardDoubleWordArrayCopy,TR_FSRH+43)
SETVAL(TR_ARM64forwardWordArrayCopy,TR_FSRH+44)
SETVAL(TR_ARM64forwardHalfWordArrayCopy,TR_FSRH+45)
SETVAL(TR_ARM64backwardQuadWordArrayCopy,TR_FSRH+46)
SETVAL(TR_ARM64backwardDoubleWordArrayCopy,TR_FSRH+47)
SETVAL(TR_ARM64backwardWordArrayCopy,TR_FSRH+48)
SETVAL(TR_ARM64backwardHalfWordArrayCopy,TR_FSRH+49)
SETVAL(TR_ARM64interfaceCompleteSlot2,TR_FSRH+50)
SETVAL(TR_ARM64interfaceSlotsUnavailable,TR_FSRH+51)
SETVAL(TR_ARM64PatchGCRHelper,TR_FSRH+52)
SETVAL(TR_ARM64fieldWatchHelper,TR_FSRH+53)
SETVAL(TR_ARM64numRuntimeHelpers,TR_FSRH+54)
SETVAL(TR_ARM64interfaceCompleteSlot2,TR_FSRH+42)
SETVAL(TR_ARM64interfaceSlotsUnavailable,TR_FSRH+43)
SETVAL(TR_ARM64PatchGCRHelper,TR_FSRH+44)
SETVAL(TR_ARM64fieldWatchHelper,TR_FSRH+45)
SETVAL(TR_ARM64numRuntimeHelpers,TR_FSRH+46)

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

0 comments on commit 76296e1

Please sign in to comment.