JDK-8294588 : Auto vectorize half precision floating point conversion APIs
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: x86_64
  • Submitted: 2022-09-29
  • Updated: 2024-06-11
  • Resolved: 2022-12-08
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 20
20 b27Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
- Float.floatToFloat16
- Float.float16ToFloat
Comments
Changeset: 073897c8 Author: Smita Kamath <svkamath@openjdk.org> Committer: Jatin Bhateja <jbhateja@openjdk.org> Date: 2022-12-08 09:46:59 +0000 URL: https://git.openjdk.org/jdk/commit/073897c88bbc430e8751a18baf7487f6474fd0c3
08-12-2022

New test failed when run with `-XX:UseAVX=1` on machine which supports avx512 and f16c: One or more @IR rules failed: Failed IR Rules (2) of Methods (2) ---------------------------------- 1) Method "public void compiler.vectorization.TestFloatConversionsVector.test_float16_float(float[],short[])" - [Failed IR rules: 1]: * @IR rule 1: "@compiler.lib.ir_framework.IR(applyIfCPUFeatureAnd={}, phase={DEFAULT}, applyIf={}, applyIfCPUFeatureOr={"avx512f", "true", "f16c", "true"}, applyIfCPUFeature={}, counts={"_#VECTOR_CAST_H2F#_", "> 0"}, applyIfAnd={}, failOn={}, applyIfOr={}, applyIfNot={})" > Phase "PrintIdeal": - counts: Graph contains wrong number of nodes: * Constraint 1: "(\\d+(\\s){2}(VectorCastH2F.*)+(\\s){2}===.*)" - Failed comparison: [found] 0 > 0 [given] - No nodes matched! 2) Method "public void compiler.vectorization.TestFloatConversionsVector.test_float_float16(short[],float[])" - [Failed IR rules: 1]: * @IR rule 1: "@compiler.lib.ir_framework.IR(applyIfCPUFeatureAnd={}, phase={DEFAULT}, applyIf={}, applyIfCPUFeatureOr={"avx512f", "true", "f16c", "true"}, applyIfCPUFeature={}, counts={"_#VECTOR_CAST_F2H#_", "> 0"}, applyIfAnd={}, failOn={}, applyIfOr={}, applyIfNot={})" > Phase "PrintIdeal": - counts: Graph contains wrong number of nodes: * Constraint 1: "(\\d+(\\s){2}(VectorCastF2H.*)+(\\s){2}===.*)" - Failed comparison: [found] 0 > 0 [given] - No nodes matched!
07-12-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/11471 Date: 2022-12-02 04:22:39 +0000
02-12-2022