JDK-8333840 : C2 SuperWord: wrong result for MulAddS2I when inputs permuted
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17,21,22,23,24
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-06-08
  • Updated: 2024-08-09
  • Resolved: 2024-06-13
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 24
24 b03Fixed
Related Reports
Relates :  
Relates :  
Description
/oracle-work/jdk-17.0.8/fastdebug/bin/java -XX:CompileCommand=compileonly,TestX::* -XX:CompileCommand=printcompilation,TestX::* -XX:+TraceNewVectors -Xbatch -XX:+TraceLoopOpts TestX.java

Exception in thread "main" java.lang.RuntimeException: bad
	at TestX.main(TestX.java:23)

Comments
Changeset: b09a4516 Author: Emanuel Peter <epeter@openjdk.org> Date: 2024-06-13 18:11:36 +0000 URL: https://git.openjdk.org/jdk/commit/b09a45163ccc566b4f7653c2e9030e359396c90f
13-06-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19619 Date: 2024-06-10 08:04:30 +0000
11-06-2024

Starts to fail after JDK-8237859 which rewires some dependencies. This might have just revealed an existing issue.
10-06-2024

ILW = Wrong result with MulAddS2I vectorization, rare?, disable compilation of affected method or disable Superword with -XX:-UseSuperWord = HLM = P3
10-06-2024