RFR: 8259948: Aarch64: Add cast nodes for Aarch64 Neon backend [v2]

Andrew Haley aph at openjdk.java.net
Sat Aug 7 08:43:29 UTC 2021


On Fri, 6 Aug 2021 09:48:50 GMT, Wang Huang <whuang at openjdk.org> wrote:

>> * In this issue, we plan to complete all missing implementation for aarch64 neon backend. For example, cast from Byte to Long, cast from Long to Byte, and so on.
>> * It may be a solver of JDK-8269866, or part of it.
>
> Wang Huang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fix code style

test/hotspot/gtest/aarch64/aarch64-asmtest.py line 1525:

> 1523:                         ["stxpw",  "__ stxpw(r6, zr, zr, sp);",                          "stxp\tw6, wzr, wzr, [sp]"],
> 1524:                         ["dup",    "__ dup(v0, __ T16B, zr);",                           "dup\tv0.16b, wzr"],
> 1525:                         ["dups",   "__ dups(v0, __ T2S, v1);",                           "mov\ts0, v1.s[0]"],

This equivalence would be easier to understand as
`                         ["dups",   "__ dups(v0, __ T2S, v1);",                           "dup\ts0, v1.s[0]"],`

-------------

PR: https://git.openjdk.java.net/jdk/pull/4839


More information about the hotspot-compiler-dev mailing list