Skip to content

Commit

Permalink
AArch64: Implement arraytranslateTRTO255
Browse files Browse the repository at this point in the history
This commit implements arraytranslateTRTO255 for AArch64.

Signed-off-by: KONNO Kazuhiro <[email protected]>
  • Loading branch information
knn-k committed Oct 31, 2024
1 parent bd36b1d commit c5cc766
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion runtime/compiler/aarch64/runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
################################################################################

j9jit_files(
${omr_SOURCE_DIR}/compiler/aarch64/runtime/ARM64arrayCopy.spp
${omr_SOURCE_DIR}/compiler/aarch64/runtime/ARM64ArrayCopy.spp
${omr_SOURCE_DIR}/compiler/aarch64/runtime/ARM64ArrayTranslate.spp
${omr_SOURCE_DIR}/compiler/aarch64/runtime/CodeSync.cpp
${omr_SOURCE_DIR}/compiler/aarch64/runtime/VirtualGuardRuntime.cpp
aarch64/runtime/ARM64RelocationTarget.cpp
Expand Down
3 changes: 2 additions & 1 deletion runtime/compiler/build/files/host/aarch64.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0 OR GPL-2.0-only WITH OpenJDK-assembly-exception-1.0

JIT_PRODUCT_BACKEND_SOURCES+= \
omr/compiler/aarch64/runtime/ARM64arrayCopy.spp \
omr/compiler/aarch64/runtime/ARM64ArrayCopy.spp \
omr/compiler/aarch64/runtime/ARM64ArrayTranslate.spp \
omr/compiler/aarch64/runtime/CodeSync.cpp \
omr/compiler/aarch64/runtime/VirtualGuardRuntime.cpp

Expand Down
2 changes: 2 additions & 0 deletions runtime/compiler/runtime/Runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ JIT_HELPER(__forwardArrayCopy);
JIT_HELPER(__backwardArrayCopy);
JIT_HELPER(_patchGCRHelper);
JIT_HELPER(_fieldWatchHelper);
JIT_HELPER(__arrayTranslateTRTO255);

#elif defined(TR_HOST_S390)
JIT_HELPER(__double2Long);
Expand Down Expand Up @@ -1580,6 +1581,7 @@ void initializeCodeRuntimeHelperTable(J9JITConfig *jitConfig, char isSMP)
#else
SET(TR_ARM64fieldWatchHelper, (void *) 0, TR_Helper);
#endif
SET(TR_ARM64arrayTranslateTRTO255, (void *) __arrayTranslateTRTO255, TR_Helper);

#elif defined(TR_HOST_S390)
SET(TR_S390double2Long, (void *) 0, TR_Helper);
Expand Down

0 comments on commit c5cc766

Please sign in to comment.