[jdk16] RFR: 8260585: AArch64: Wrong code generated for shifting right and accumulating four unsigned short integers [v2]

Dong Bo dongbo at openjdk.java.net
Sat Jan 30 05:07:08 UTC 2021


> This is a typo introduced by JDK-8255949.
> Compiler will generate `ushr` for shifting right and accumulating four short integers.
> It produces wrong results for specific case. The instruction should be `usra`.

Dong Bo has updated the pull request incrementally with two additional commits since the last revision:

 - fix trailing whitespace
 - add tests for shift right and accumulate

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

Changes:
  - all: https://git.openjdk.java.net/jdk16/pull/136/files
  - new: https://git.openjdk.java.net/jdk16/pull/136/files/d97281ab..f212c5e6

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk16&pr=136&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk16&pr=136&range=00-01

  Stats: 196 lines in 1 file changed: 196 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk16/pull/136.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk16 pull/136/head:pull/136

PR: https://git.openjdk.java.net/jdk16/pull/136


More information about the hotspot-compiler-dev mailing list