RFR: 8373026: C2 SuperWord and Vector API: vector algorithms test and benchmark [v5]
Xiaohong Gong
xgong at openjdk.org
Tue Jan 20 07:17:34 UTC 2026
On Tue, 20 Jan 2026 07:05:39 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> 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 :)
Yeah, I agree adding another version of Vector API benchmark used with mask. That's fine to me. Thanks!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28639#discussion_r2707056738
More information about the hotspot-compiler-dev
mailing list