RFR: 8303553: AArch64: Add BCAX backend rule

Andrew Haley aph at openjdk.org
Wed Mar 29 11:10:14 UTC 2023


On Wed, 29 Mar 2023 09:43:14 GMT, changpeng1997 <duke at openjdk.org> wrote:

> This computing pattern (a ^ (b & (~c))) can be found in some SHA-3 java implementation, like https://github.com/aelstad/keccakj/blob/07185d29fb6c881570e2d7fd2b160460626dc130/src/main/java/com/github/aelstad/keccakj/core/Keccak1600.java#L309.
> 
> I believe this patch can accelerate some SHA-3 applications implemented by Java.

OK, thanks. Please benchmark this and let us know the result. It'd also be interesting to know how it compares with our SHA-3 intrinsic.

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

PR Comment: https://git.openjdk.org/jdk/pull/13222#issuecomment-1488393182


More information about the hotspot-compiler-dev mailing list