RFR: 8324750: C2: rename Matcher methods using "superword" -> "autovectorization"

Christian Hagedorn chagedorn at openjdk.org
Fri Jan 26 20:30:35 UTC 2024


On Fri, 26 Jan 2024 09:53:53 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> Subtask of https://github.com/openjdk/jdk/pull/16620
> 
> Matcher::superword_max_vector_size -> Matcher::max_vector_size_autovectorization
> 
> Matcher::match_rule_supported_superword -> match_rule_supported_autovectorization
> 
> This is to make the naming more general, since these methods can be used by any autovectorizer in the future.

src/hotspot/cpu/aarch64/aarch64.ad line 2380:

> 2378: }
> 2379: 
> 2380: int Matcher::max_vector_size_autovectorization(const BasicType bt) {

Should we use two separate words like `auto_vectorization`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17583#discussion_r1468116668


More information about the hotspot-compiler-dev mailing list