RFR: 8324734: Relax too-strict assert(VM_Version::supports_evex()) in Assembler::locate_operand() [v2]

Roman Kennke rkennke at openjdk.org
Mon Jan 29 09:30:02 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

Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:

  Distinguish between CPU and HotSpot features for supports_evex()

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17590/files
  - new: https://git.openjdk.org/jdk/pull/17590/files/17880550..f3929385

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17590&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17590&range=00-01

  Stats: 14 lines in 5 files changed: 11 ins; 0 del; 3 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