RFR: 8324734: Remove too-strict assert(VM_Version::supports_evex()) in Assembler::locate_operand()

Roman Kennke rkennke at openjdk.org
Fri Jan 26 15:23:46 UTC 2024


Details see bug report. The gist is that HotSpot downgrades to UseAVX=2 on some processors, and reports supports_evex() == false, but the instruction decoder can still encounter EVEX instructions when (e.g.) hitting a SIGBUS in memset() - which does have EVEX instructions.

Testing:
 - [x] runtime/Unsafe/InternalErrorTest.java
 - [x] tier1

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

Commit messages:
 - 8324734: Remove too-strict assert(VM_Version::supports_evex()) in Assembler::locate_operand()

Changes: https://git.openjdk.org/jdk/pull/17590/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17590&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8324734
  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/17590.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17590/head:pull/17590

PR: https://git.openjdk.org/jdk/pull/17590


More information about the hotspot-compiler-dev mailing list