-
Notifications
You must be signed in to change notification settings - Fork 6.1k
1234567: Scott walks in the room. #12
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
1234567: Scott walks in the room. #12
Conversation
I am here.
|
Welcome to the OpenJDK organization on GitHub! This repository is currently a read-only git mirror of the official Mercurial repository (located at https://hg.openjdk.java.net/). As such, we are not currently accepting pull requests here. If you would like to contribute to the OpenJDK project, please see https://openjdk.java.net/contribute/ on how to proceed. This pull request will be automatically closed. |
Fix call to SymbolLookup::find
…te for SVE We can use SVE compare-with-integer-immediate instructions like cmpgt(immediate)[1] to avoid the extra scalar2vector operations. The following instruction sequence ``` movi v17.16b, openjdk#12 cmpgt p0.b, p7/z, z16.b, z17.b ``` can be optimized to: ``` cmpgt p0.b, p7/z, z16.b, openjdk#12 ``` This patch does the following: 1. Add SVE compare-with-7bit-unsigned-immediate instructions to C2's backend. SVE cmp<cc>(immediate) instructions can support vector comparing with 7bit unsigned integer immediate (range from 0 to 127) or 5bit signed integer immediate (range from -16 to 15). 2. Add optimized match rules to generate the compare-with-immediate instructions. [1]: https://developer.arm.com/documentation/ddi0596/2021-12/SVE-Instructions/CMP-cc---immediate---Compare-vector-to-immediate- TEST_LABEL: v1 || n2, aarch64&&ubuntu&&conformance-enabled JDK_SCOPE: hotspot:compiler/vectorapi, jdk:jdk/incubator/vector/ Jira: ENTLLT-5294 Change-Id: I6b915864308faf9a8ec6e35ca1b4948666d75dca
Co-authored-by: Xin Liu <xxinliu@amazon.com>
I am here.