On Fri, 30 Sep 2022 10:04:34 GMT, Quan Anh Mai <[email protected]> wrote:
>> Smita Kamath has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Addressed review comment to update test case
>
> src/hotspot/cpu/x86/x86.ad line 3674:
>
>> 3672: %}
>> 3673:
>> 3674: instruct convF2HF_mem_reg(memory mem, regF src, kReg ktmp, rRegI rtmp)
>> %{
>
> You can use `kmovwl` instead which will relax the avx512bw constraint,
> however, you will need avx512vl for `evcvtps2ph`. Thanks.
Rethink about it, you can get 0x01 by right shifting k0 to the right -
`kshiftrw(ktmp, k0, 15)`
-------------
PR: https://git.openjdk.org/jdk/pull/9781