Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8360179

RISC-V: Only enable BigInteger intrinsics when AvoidUnalignedAccess == false

XMLWordPrintable

    • b04
    • riscv

        This disables BigInteger.multiplyToLen(), BigInteger.squareToLen(), BigInteger.montgomeryMultiply()
        and BigInteger.montgomerySquare() on linux-riscv64 platforms where misaligned memory accesses is slow.
        The reason is that these four BigInteger intrinsics do 8-byte misaligned memory accesses to int arrays
        under -XX:+UseCompactObjectHeaders. And this will have a negative impact on SPECJvm2008 crypto tests.

              wenanjian Anjian Wen
              wenanjian Anjian Wen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: