RFR: 8373026: C2 SuperWord and Vector API: vector algorithms test and benchmark [v5]

Emanuel Peter epeter at openjdk.org
Tue Jan 20 07:09:21 UTC 2026


On Tue, 20 Jan 2026 06:27:07 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

>> Good idea, I could!
>> However, it would mean I would have to probably add this version for every benchmark.
>> I'm wondering if that is worth it.
>> I think I won't add it now, but maybe in a follow-up RFE :)
>
> Creating a mask for each loop iteration may affect Vector API benchmark results, especially on SVE. If the benchmark is intended to compare Vector API performance against auto‑vectorization, using a tail‑loop version would be preferable for a more fair comparison.

@XiaohongGong Thanks for the comment :)
Right, we can do all of those things. We can have lots of variants to demonstrate different effects and trade-offs.
I might do that in a follow-up RFE :)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28639#discussion_r2707034336


More information about the hotspot-compiler-dev mailing list