RFR: 8343685: C2 SuperWord: refactor VPointer with MemPointer [v13]

Emanuel Peter epeter at openjdk.org
Thu Jan 16 16:04:59 UTC 2025


On Thu, 16 Jan 2025 16:00:12 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> src/hotspot/share/opto/vectorization.hpp line 714:
>> 
>>> 712: //   pointer = base + invar + iv_scale * iv + con
>>> 713: //
>>> 714: //   invar = SUM(invar_summands)
>> 
>> Would it make sense to add `iv_summand` here as well since you mention it below? I.e. something like:
>> 
>> //   pointer = base + invar + iv_summand + con
>> // with
>> //   invar = SUM(invar_summands)
>> //   iv_summand = iv_scale * iv
>
> Good idea!

Good idea!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21926#discussion_r1918813207


More information about the hotspot-compiler-dev mailing list