JDK-8280976 : Incorrect encoding of avx512 vpsraq instruction with mask and constant shift.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 18,19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: x86_64
  • Submitted: 2022-01-31
  • Updated: 2022-04-14
  • Resolved: 2022-02-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 19
19 b08Fixed
Related Reports
Relates :  
Relates :  
Description
 - Issues was during new test development using LongVector.lanewise(VectorOperators.ASHR, const_shift)

Comments
Hi Praveen, Scope of problem is limited to VectorAPI, incorrect encoding instruction will be generated for right shift operation with constant shift count over long vectors. Incorrect instruction will not be emitted for vector operations inferred through auto-vectorizer. Existing VectorAPI jtreg suite lacked such test points, we have filled that gap with JDK-8284564. Thanks
14-04-2022

Please provide justification for getting this into 18.0.1 with a risk assessment and testing done.
28-02-2022

Changeset: 48a32b5f Author: Jatin Bhateja <jbhateja@openjdk.org> Date: 2022-02-02 07:36:47 +0000 URL: https://git.openjdk.java.net/jdk/commit/48a32b5f3aa1b238bc9857002325579a5b041685
02-02-2022

ILW = wrong result for vector ASHR (incubator feature), seen in new test only, no workaround = MMH = P3
31-01-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/7291 Date: 2022-01-31 20:15:40 +0000
31-01-2022