Withdrawn: 8256436: AArch64: Fix undefined behavior for signed right shift in assembler
Xiaohong Gong
xgong at openjdk.java.net
Mon Nov 23 03:09:00 UTC 2020
On Thu, 19 Nov 2020 05:21:39 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:
> Right shift a signed negative value is implementation-defined in C++ (see [1]). It's better to avoid the signed right shift operations,
> and use the unsigned right shift instead.
>
> [1] https://docs.microsoft.com/en-us/cpp/cpp/left-shift-and-right-shift-operators-input-and-output?view=msvc-160&viewFallbackFrom=vs-2019
>
> Tested jtreg langtools:tier1, hotspot:hotspot_all_no_apps and jdk:jdk_core, and all tests pass without new failures.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1307
More information about the hotspot-compiler-dev
mailing list