Skip to content

Commit

Permalink
Merge pull request #7005 from bhavanisn/omr-crc32-aot-regression-fix
Browse files Browse the repository at this point in the history
Adding helper functions for crc32 special routines to enable optimizations in AOT
  • Loading branch information
0xdaryl authored May 26, 2023
2 parents a4ee8e0 + fde16c1 commit c5da13a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions compiler/ras/Debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 3 additions & 1 deletion compiler/runtime/Helpers.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c5da13a

Please sign in to comment.