Skip to content

AArch64: Inline StringLatin1.indexOf([BI[BII)I #22188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2025

Conversation

knn-k
Copy link
Contributor

@knn-k knn-k commented Jul 7, 2025

This commit generates vectorized inlined code for AArch64 for methods StringLatin1.indexOf([BI[BII)I and
JITHelpers.intrinsicIndexOfStringLatin1().

@knn-k
Copy link
Contributor Author

knn-k commented Jul 7, 2025

Jenkins test sanity amac,alinux64 jdk11,jdk17

@knn-k
Copy link
Contributor Author

knn-k commented Jul 7, 2025

Jenkins test sanity alinux64 jdk8,jdk17

@knn-k knn-k marked this pull request as ready for review July 7, 2025 10:21
@knn-k knn-k force-pushed the aarch64InlineStrIdxOfStr branch from ad0f3db to 32123f0 Compare July 7, 2025 23:14
@knn-k
Copy link
Contributor Author

knn-k commented Jul 7, 2025

Jenkins test sanity amac jdk11,jdk17

I added support for off-heap arrays.


const int32_t vecWidth = 16;

// Adresses of array elements
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sp. Addresses

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the typo. I made no changes in other lines.

@0xdaryl
Copy link
Contributor

0xdaryl commented Jul 9, 2025

No need to re-run CI if you just fix the comment.

This commit generates vectorized inlined code for AArch64
for methods StringLatin1.indexOf([BI[BII)I and
JITHelpers.intrinsicIndexOfStringLatin1().

Signed-off-by: KONNO Kazuhiro <[email protected]>
@knn-k knn-k force-pushed the aarch64InlineStrIdxOfStr branch from 32123f0 to 9201b6e Compare July 9, 2025 22:41
@0xdaryl 0xdaryl merged commit aa9f103 into eclipse-openj9:master Jul 9, 2025
2 checks passed
@knn-k knn-k deleted the aarch64InlineStrIdxOfStr branch July 9, 2025 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants