8266720: Wrong implementation in LibraryCallKit::inline_vector_shuffle_iota #3933
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear All,
Here is the patch of JDK-8266720. Could you do me a favor to review this?
TestVectorShuffleIotaByteWrongImpl.java
src/hotspot/share/opto/vectorIntrinsics.cpp [jdk/jdk]
aarch64
neon backend, we useBoolTest::ge
for generated code:However, we use cond (=1 or BoolTest::gt). So X86 is right on jdk/jdk
panama-vector
, both of them are wrong, because the IR is fixed:Yours,
Wang Huang
Progress
Issue
Contributors
<whuang@openjdk.org>
<aijiaming1@huawei.com>
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/3933/head:pull/3933
$ git checkout pull/3933
Update a local copy of the PR:
$ git checkout pull/3933
$ git pull https://git.openjdk.java.net/jdk pull/3933/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3933
View PR using the GUI difftool:
$ git pr show -t 3933
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/3933.diff