RFR: 8291118: [vectorapi] Optimize the implementation of lanewise FIRST_NONZERO

Paul Sandoz psandoz at openjdk.org
Wed Aug 17 15:20:19 UTC 2022


On Wed, 17 Aug 2022 09:48:29 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

> > Much better to flip the operation and the receiver + first arg to the blend.
> 
> I'm not quite understand what the flip operation here mean. The current code is simple enough to me. Could you please show more details? Thanks a lot!

I mean to say your approach is much better: changing `ne` to `eq` and changing the arguments to the blend.

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

PR: https://git.openjdk.org/jdk/pull/9683


More information about the core-libs-dev mailing list