DescriptionARM64: Fix SHR logic error.
The `right == 0` checks only worked for `0 <= right < 32`. This patch
replaces the checks with simple tests for negative results.
The attached test can detect this error, but the test relies on a broken
flag (--noopt-safe-uint32-operations), so it is skipped for now. See
issue 3487 for details.
BUG=
R=ulan@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=23243
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|