[jdk19] RFR: 8288112: C2: Error: ShouldNotReachHere() in Type::typerr()

Vladimir Kozlov kvn at openjdk.org
Sun Jul 10 22:45:47 UTC 2022


On Fri, 8 Jul 2022 21:57:33 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

> [JDK-8284960](https://bugs.openjdk.org/browse/JDK-8284960) added new vector IR nodes and target specific backend support for  Reverse Byte vector operations.  
> Auto-vectorization analysis based on vector IR opcode existence and target backed implementation for existing Java SE APIs [Short/Character/Integer/Long].reverseBytes passes since both vector IR and backend support already exist for these operations. This bug fix patch handled missing scalar reverse byte IR cases in SLP optimizer to enable creation of corresponding vector IR nodes.
> 
> A new JBS issue [JDK-8290034](https://bugs.openjdk.org/browse/JDK-8290034) is created to add the missing auto-vectorization support for bit reverse operation targeting JDK mainline.
> 
> Kindly review and share your feedback.
> 
> Best Regards,
> Jatin

Failed:

test\micro\org\openjdk\bench\java\lang\Longs.java:148: error: incompatible types: possible lossy conversion from long to int
[2022-07-10T21:01:01,470Z]             int r = Long.reverseBytes(longArraySmall[i]);

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

PR: https://git.openjdk.org/jdk19/pull/128


More information about the hotspot-compiler-dev mailing list