-
Notifications
You must be signed in to change notification settings - Fork 396
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
Fix encoding of smulh/umulh instructions on AArch64 #7104
Conversation
Jenkins build aarch64,amac |
I checked the binary encodings of those instructions. The Ra field (bits 10-14) need to be all 1. The change in this PR looks OK to me. |
Please update the comment in OMRInstOpCode.enum, too. |
66f375c
to
6135a55
Compare
Updated the comment in OMRInstOpCode.enum. |
Could you reference the issue (18057) in the commit/PR message for archeological purposes? Don't force the issue to be closed when this PR is merged as we will want to get this into OpenJ9 0.41 as well. |
AArch64 code generator incorrectly encodes `smulh` and `umulh` instructions, and those malformed instructions produce unexpected results. This commit fixes encoding of those instructions and adds binary encoding unit tests. Issue eclipse-openj9/openj9#18057 Signed-off-by: Akira Saitoh <saiaki@jp.ibm.com>
6135a55
to
0cd2556
Compare
Updated the commit and PR message to reference the issue. |
Jenkins build aarch64,amac |
See Issue #6516 for the socket test failures in porttest on x86-64 macOS. It is not related to this PR. |
@Akira1Saitoh Please prepare the same fix for the v0.41 branch. Thanks. |
I opened eclipse-openj9/openj9-omr#185 for v0.41. |
AArch64 code generator incorrectly encodes
smulh
andumulh
instructions, and those malformed instructions produce unexpected results. This commit fixes encoding of those instructions and adds binary encoding unit tests.Issue eclipse-openj9/openj9#18057