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

riscv: Intrinsify multiplyToLen and squareToLen

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-riscv-port
    • repo-riscv-port
    • hotspot

      On behalf of Taiping Guo (guotaiping1@huawei.com)

      BigInteger intrinsic: MultiplyToLen and SquareToLen intrinsic are missed in current vm. They should be implemented.
      The JMH tests show that the MultiplyToLen intrinsic improve the performance by up to 2x~3x and the SquareToLen intrinsic improve the performance by up to 1.8x~2x when the length of BigInteger changed from 1 to 5000, compared with that of C2

        1. squareToLen_unmatched.txt
          0.8 kB
        2. squareToLen_d1.txt
          0.8 kB
        3. MyBenchmark.java
          3 kB
        4. multiplyToLen_unmatched.txt
          0.8 kB
        5. multiplyToLen_d1.txt
          0.8 kB

            fjiang Feilong Jiang
            fjiang Feilong Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: