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

Dong Bo dongbo at openjdk.java.net
Sun Jan 31 10:30:06 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:

  make empty ins_encode when shift >= 16 (chars)

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

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

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

  Stats: 20 lines in 1 file changed: 0 ins; 16 del; 4 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