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

Jie Fu jiefu at openjdk.java.net
Mon Jul 19 06:16:54 UTC 2021


On Mon, 19 Jul 2021 04:34:24 GMT, Xiaohong Gong <xgong 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.

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

Marked as reviewed by jiefu (Reviewer).

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


More information about the hotspot-compiler-dev mailing list