RFR: 8270519: Move several vector helper methods to shared header file

Xiaohong Gong xgong at openjdk.java.net
Thu Jul 22 01:20:49 UTC 2021


On Mon, 19 Jul 2021 06:14:06 GMT, Jie Fu <jiefu at openjdk.org> wrote:

>> Hi, could anyone please take a look at this simple patch?
>> 
>> This is a followed-up patch to [1] which added several arch independent vector methods (e.g. `vector_length/vector_element_basic_type`). Since these methods also exist in x86.ad and are widely used in their match rules, it's better to move the shared methods to a common shared place.
>> 
>> [1] https://bugs.openjdk.java.net/browse/JDK-8269725
>> 
>> Tested tier1 and jdk:tier3.
>
> Looks reasonable to me.
> Thanks.

Thanks for the review @DamonFool !

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

PR: https://git.openjdk.java.net/jdk/pull/4822


More information about the hotspot-compiler-dev mailing list