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

Ningsheng Jian njian at openjdk.java.net
Mon Feb 1 07:51:45 UTC 2021


On Sun, 31 Jan 2021 10:30:06 GMT, Dong Bo <dongbo at openjdk.org> wrote:

>> 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)

Looks good to me.

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

Marked as reviewed by njian (Committer).

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


More information about the hotspot-compiler-dev mailing list