From fde16c116cabecdb352a258397b1b0dfd378fb57 Mon Sep 17 00:00:00 2001 From: Bhavani SN Date: Tue, 23 May 2023 08:30:49 -0700 Subject: [PATCH] Adding helper functions for crc32 special routines --- compiler/ras/Debug.cpp | 2 ++ compiler/runtime/Helpers.inc | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/compiler/ras/Debug.cpp b/compiler/ras/Debug.cpp index cff0623647..a8bf7391d8 100644 --- a/compiler/ras/Debug.cpp +++ b/compiler/ras/Debug.cpp @@ -3973,6 +3973,8 @@ TR_Debug::getRuntimeHelperName(int32_t index) case TR_PPCAESCBCEncrypt: return "PPCAESCBCEncrypt"; case TR_PPCAESKeyExpansion: return "PPCAESKeyExpansion"; case TR_PPCcrc32_vpmsum: return "PPCcrc32_vpmsum"; + case TR_PPCcrc32_no_vpmsum: return "PPCcrc32_no_vpmsum"; + case TR_PPCcrc32_oneByte: return "PPCcrc32_oneByte"; } } #elif defined (TR_TARGET_S390) diff --git a/compiler/runtime/Helpers.inc b/compiler/runtime/Helpers.inc index ee5bec8b89..1d72fec9e6 100644 --- a/compiler/runtime/Helpers.inc +++ b/compiler/runtime/Helpers.inc @@ -349,7 +349,9 @@ SETVAL(TR_PPCAESCBCDecrypt, TR_FSRH+92) SETVAL(TR_PPCAESCBCEncrypt, TR_FSRH+93) SETVAL(TR_PPCinterpreterUnresolvedConstantDynamicGlue, TR_FSRH+94) SETVAL(TR_PPCcrc32_vpmsum, TR_FSRH+95) -SETVAL(TR_PPCnumRuntimeHelpers,TR_FSRH+96) +SETVAL(TR_PPCcrc32_no_vpmsum, TR_FSRH+96) +SETVAL(TR_PPCcrc32_oneByte, TR_FSRH+97) +SETVAL(TR_PPCnumRuntimeHelpers,TR_FSRH+98) SETVAL(TR_ARMdouble2Long,TR_FSRH) SETVAL(TR_ARMdoubleRemainder,TR_FSRH+1)