Integrated: 8263904: compiler/intrinsics/bmi/verifycode/BzhiTestI2L.java fails on x86_32
Marcus G K Williams
github.com+168222+mgkwill at openjdk.java.net
Tue Mar 23 06:53:42 UTC 2021
On Mon, 22 Mar 2021 17:30:31 GMT, Marcus G K Williams <github.com+168222+mgkwill at openjdk.org> wrote:
> Further fixes (in addition to https://github.com/openjdk/jdk/pull/3104) for issue where BzhiTestI2L.java fails on x86_32. bzhiq instructions are only generated on x86_64.
>
> This adds a skip to the test if `Platform.isX86()` and uses `((BmiTestCase) testCase).getTestCaseX64() && Platform.isX64()` to decide when to use `((BmiTestCase_x64) testCase).getInstrPattern_x64()` versus `((BmiTestCase) testCase).getInstrPattern()` (x86_32 version of instruction)
>
> Signed-off-by: Marcus G K Williams <marcus.williams at intel.com>
This pull request has now been integrated.
Changeset: 7b6efd3b
Author: Marcus G K Williams <marcus.williams at intel.com>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/7b6efd3b
Stats: 6 lines in 2 files changed: 5 ins; 0 del; 1 mod
8263904: compiler/intrinsics/bmi/verifycode/BzhiTestI2L.java fails on x86_32
Reviewed-by: kvn, thartmann
-------------
PR: https://git.openjdk.java.net/jdk/pull/3128
More information about the hotspot-compiler-dev
mailing list