[vectorIntrinsics] RFR: 8261108: Add cast nodes from integer types to float types implementation for Arm SVE

Wang Huang whuang at openjdk.java.net
Thu Feb 18 07:58:49 UTC 2021


On Thu, 18 Feb 2021 03:20:32 GMT, Ningsheng Jian <njian at openjdk.org> wrote:

>> Add the backend codegen for nodes like castb2f / castb2d / casts2f / casts2d / casti2f / casti2d / castl2f / castl2d.
>> 
>> * add `sve_scvtf`  ( and `sve_ucvtf`) encoding
>> * add mock for these instructions
>> * add `VECTOR_CAST_I2F_EXTEND[N]` and `VECTOR_CAST_I2F`
>> 
>> Thank you for your review.
>
> src/hotspot/cpu/aarch64/aarch64_sve_ad.m4 line 1624:
> 
>> 1622:             "sve_$3  $dst, $5, $dst\n\t"
>> 1623:             "sve_$3  $dst, $6, $dst\n\t"
>> 1624:             "sve_$6  $dst, $7, $dst, $7\t# convert $1 to $2 vector" %}
> 
> sve_$7 instead?

It's my fault. I'll change that.

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

PR: https://git.openjdk.java.net/panama-vector/pull/37


More information about the panama-dev mailing list