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

Dong Bo dongbo at openjdk.java.net
Mon Feb 1 14:36:04 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 one additional commit since the last revision:

  update tests for bytes and shorts

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

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

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

  Stats: 74 lines in 1 file changed: 19 ins; 0 del; 55 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