[vectorIntrinsics] RFR: 8259536: Add cast nodes between interger types implementation for Arm SVE [v3]

Wang Huang whuang at openjdk.java.net
Thu Jan 28 02:51:05 UTC 2021


On Wed, 27 Jan 2021 09:00:50 GMT, Ningsheng Jian <njian at openjdk.org> wrote:

>> Wang Huang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   add other I2I cast nodes
>
> src/hotspot/cpu/aarch64/aarch64_sve.ad line 2499:
> 
>> 2497:   predicate(UseSVE > 0 && n->bottom_type()->is_vect()->length_in_bytes() >= 16 &&
>> 2498:             n->bottom_type()->is_vect()->element_basic_type() == T_SHORT);
>> 2499:   match(Set dst (VectorCastB2X src));
> 
> Is it possible to sort these newly added rules by Node name? So that it's easier to know whether there are still some rules missing.

* These nodes are generated by m4. In m4 file, I put nodes which call the same macro together. For instance,  the macro `VECTOR_CAST_I2I` generate `B2S` `S2I` `I2L` , so I put the  `B2S` `S2I` `I2L` together to clarify codes of m4.  If we want to sort the generated nodes by name, we may change the position of the callsite of these macros.
* All I2I nodes is included in this patch.

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

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


More information about the panama-dev mailing list