RFR: 8278173: [vectorapi] Add x64 intrinsics for unsigned (zero extended) casts [v2]
Paul Sandoz
psandoz at openjdk.java.net
Thu Feb 10 18:59:05 UTC 2022
On Thu, 10 Feb 2022 15:14:44 GMT, Quan Anh Mai <duke at openjdk.java.net> wrote:
>> Hi,
>>
>> This patch implements the unsigned upcast intrinsics in x86, which are used in vector lane-wise reinterpreting operations.
>>
>> Thank you very much.
>
> Quan Anh Mai has updated the pull request incrementally with two additional commits since the last revision:
>
> - minor rename
> - address reviews
Observing the following failures on CPUs with "Intel_R__Xeon_R__Gold_6354_CPU___3.00GHz" with HotSpot flags:
-XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation
TestVectorCastAVX512.java:
Failed IR Rules (1)
------------------
- Method "public static void compiler.vectorapi.reshape.tests.TestVectorCast.testUI256toL512(int[],long[])":
* @IR rule 1: "@compiler.lib.ir_framework.IR(failOn={}, applyIf={}, applyIfAnd={}, applyIfOr={}, counts={"(\\\\d+(\\\\s){2}(VectorUCastI2X.*)+(\\\\s){2}===.*)", "1"}, applyIfNot={})"
- counts: Graph contains wrong number of nodes:
Regex 1: (\\d+(\\s){2}(VectorUCastI2X.*)+(\\s){2}===.*)
Expected 1 but found 0 nodes.
TestVectorCastAVX1.java:
- Method "public static void compiler.vectorapi.reshape.tests.TestVectorCast.testUB64toS64(byte[],short[])":
* @IR rule 1: "@compiler.lib.ir_framework.IR(failOn={}, applyIf={}, applyIfAnd={}, applyIfOr={}, counts={"(\\\\d+(\\\\s){2}(VectorUCastB2X.*)+(\\\\s){2}===.*)", "1"}, applyIfNot={})"
- counts: Graph contains wrong number of nodes:
Regex 1: (\\d+(\\s){2}(VectorUCastB2X.*)+(\\s){2}===.*)
Expected 1 but found 0 nodes.
- Method "public static void compiler.vectorapi.reshape.tests.TestVectorCast.testUB64toI128(byte[],int[])":
* @IR rule 1: "@compiler.lib.ir_framework.IR(failOn={}, applyIf={}, applyIfAnd={}, applyIfOr={}, counts={"(\\\\d+(\\\\s){2}(VectorUCastB2X.*)+(\\\\s){2}===.*)", "1"}, applyIfNot={})"
- counts: Graph contains wrong number of nodes:
Regex 1: (\\d+(\\s){2}(VectorUCastB2X.*)+(\\s){2}===.*)
Expected 1 but found 0 nodes.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7358
More information about the hotspot-compiler-dev
mailing list