[vectorIntrinsics] RFR: 8258072: Add Reinterpret nodes implementation for Arm SVE [v3]

Vladimir Ivanov vlivanov at openjdk.java.net
Mon Dec 28 09:47:03 UTC 2020


On Mon, 28 Dec 2020 07:11:19 GMT, Wang Huang <whuang at openjdk.org> wrote:

>> Add reinterpret nodes implementation for Arm SVE. We also adjust the implementation of Matcher::min_vector_size in the same patch.
>
> Wang Huang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fix ReinterpretNode check bug

src/hotspot/share/opto/vectorIntrinsics.cpp line 1836:

> 1834:       // Since number elements from input is larger than output, simply reduce size of input (we are supposed to
> 1835:       // drop top elements anyway).
> 1836:       int num_elem_for_resize = MAX2(num_elem_to, Matcher::min_vector_size(elem_bt_from));

Looks like a bug to me. 
Can you elaborate, please, how it manifests and does it cause any misbehavior? 
I'm concerned that it should be fixed separately upstream.

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

PR: https://git.openjdk.java.net/panama-vector/pull/29


More information about the panama-dev mailing list