[riscv-port] RFR: 8278847: riscv: Intrinsify BigInteger.montgomeryMultiply

Yanhong Zhu yzhu at openjdk.java.net
Thu Jan 27 03:52:20 UTC 2022


Intrinsify BigInteger.montgomeryMultiply on RISCV.
On unmatched borad, performance of SPECjvm2008 crypto has improved by 4%,of which sub-testcase crypto.rsa have improved by 7%.The details are as follows:

<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 15">
<link id=Main-File rel=Main-File
href="file:///C:\Users\Z00540~1\AppData\Local\Temp\msohtmlclip1\01\clip.htm">
<link rel=File-List
href="file:///C:\Users\Z00540~1\AppData\Local\Temp\msohtmlclip1\01\clip_filelist.xml">



</head>

<body link="#0563C1" vlink="#954F72">



TRUE(ops/m) | 1 | 2 | 3 | geomean | percent(true/false)
-- | -- | -- | -- | -- | --
crypto.aes | 6.15 | 6.26 | 5.82 | 6.07 | 102.81%
crypto.rsa | 73.07 | 72.77 | 69.5 | 71.76 | 107.22%
crypto.signverify | 56.82 | 57.13 | 56.34 | 56.76 | 102.59%
crypto | 29.44 | 29.63 | 28.35 | 29.13 | 104.18%
**FALSE(ops/m)** |   |   |   |   | 
crypto.aes | 5.77 | 6.14 | 5.82 | 5.91 |  
crypto.rsa | 67.09 | 67.26 | 66.44 | 66.93 |  
crypto.signverify | 55.51 | 55.6 | 54.88 | 55.33 |  
crypto | 27.8 | 28.42 | 27.68 | 27.96 |  



</body>

</html>

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

Commit messages:
 - 8278847: riscv: Intrinsify BigInteger.montgomeryMultiply

Changes: https://git.openjdk.java.net/riscv-port/pull/54/files
 Webrev: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=54&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8278847
  Stats: 484 lines in 2 files changed: 484 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/riscv-port/pull/54.diff
  Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/54/head:pull/54

PR: https://git.openjdk.java.net/riscv-port/pull/54


More information about the riscv-port-dev mailing list