[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 08:33:58 UTC 2021
On Thu, 18 Feb 2021 03:26:00 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 line 2728:
>
>> 2726: n->bottom_type()->is_vect()->element_basic_type() == T_DOUBLE);
>> 2727: match(Set dst (VectorCastB2X src));
>> 2728: effect(TEMP_DEF dst);
>
> This effect looks unnecessary to me.
OK. I will remove that.
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/37
More information about the panama-dev
mailing list