RFR: 8275643: C2's unaryOp vector intrinsic does not properly handle LongVector.neg

Sandhya Viswanathan sviswanathan at openjdk.java.net
Thu Nov 18 16:35:40 UTC 2021


On Thu, 18 Nov 2021 16:18:10 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Looks good to me.
>
> @sviswa7 @jatin-bhateja any thoughts on the other related FIXMEs brought up by Tobias? e.g.
> 
> 
>             if (op == AND_NOT) {
>                 // FIXME: Support this in the JIT.
>                 that = that.lanewise(NOT);
>                 op = AND;

@PaulSandoz Those fixme notes are from John, pointing to us where further optimizations are possible and not related to correctness. I also looked at the vop2ideal, it now handles all the opcodes for the relevant data types (inegral/fp).

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

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


More information about the hotspot-dev mailing list