On Tue, 17 Dec 2024 16:40:33 GMT, Emanuel Peter <epe...@openjdk.org> wrote:

>> Yes, there are multiple test points in newly added test which receive 
>> floating-point constant which goes through following IR logic before being 
>> constant folded 
>> ConF -> ConvF2HF -> ReinterpretS2HF
>
> Please show me an example.

Every constant folding test point that accepts a floating point number first 
folds it to a short constant by ConvF2HF value routine which is then 
re-interpreted to FP16 constant (TypeH) through ReinterpretS2HF value 
conversion.

Here is the link to one such test point
https://github.com/openjdk/jdk/pull/22754/files#diff-3f8786f9f62662eda4b4a5c76c01fa04534c94d870d496501bfc20434ad45579R472

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22754#discussion_r1895315365

Reply via email to