RFR: 8352635: Improve inferencing of Float16 operations with constant inputs [v5]
Jatin Bhateja
jbhateja at openjdk.org
Fri Jun 13 11:29:18 UTC 2025
On Wed, 11 Jun 2025 14:15:00 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> Suggestion:
>> Suggestion:
>>
>> // 1. conF must lie within Float16 value range, otherwise we would have rounding issues:
>> // Doing the operation in float32 and then rounding is not the same as
>> // rounding first and doing the operation in float16.
>
> Do you have tests where the constant is in float16? Which one?
We have a test point "testExactFP16ConstantPatterns" for in-range constants
https://github.com/openjdk/jdk/pull/24179/files#diff-3f8786f9f62662eda4b4a5c76c01fa04534c94d870d496501bfc20434ad45579R405
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24179#discussion_r2144880546
More information about the hotspot-compiler-dev
mailing list