RFR: 8340808: RISC-V: Client build fails after JDK-8339738

Hamlin Li mli at openjdk.org
Tue Sep 24 14:11:05 UTC 2024


Hi,
Can you help to review this simple patch?
Previously, the crc32 intrinsic (scalar version) was added for both c1/c2, then the vector version was added but depends on a global flag MaxVectorSize which is only valid in c2.
This pr is to put all vector crc32 related code under COMPILER2 macro protection.
I tested with/without --with-jvm-variants=client.
Thanks!

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

Commit messages:
 - Initial commit

Changes: https://git.openjdk.org/jdk/pull/21159/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21159&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8340808
  Stats: 10 lines in 2 files changed: 8 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/21159.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21159/head:pull/21159

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


More information about the hotspot-dev mailing list