RFR: 8342768: GTest AssemblerX86.validate_vm failed: assert(VM_Version::supports_bmi1()) failed: tzcnt instruction not supported
Sandhya Viswanathan
sviswanathan at openjdk.org
Tue Oct 22 17:54:05 UTC 2024
On Tue, 22 Oct 2024 17:41:13 GMT, hanklo6 <duke at openjdk.org> wrote:
> The `tzcnt` instruction requires the VM to support `bmi1` feature, which we set directly when running the test.
test/hotspot/gtest/x86/test_assemblerx86.cpp line 70:
> 68: TEST_VM(AssemblerX86, validate) {
> 69: FlagSetting flag_change_apx(UseAPX, true);
> 70: VM_Version::set_bmi1_cpuFeatures();
Let us also call the set_avx_cpuFeatures() and set_evex_cpuFeatures() in TEST_VM.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21644#discussion_r1811151167
More information about the hotspot-dev
mailing list