On Wed, 11 Feb 2026 03:37:53 GMT, Ben Perez <[email protected]> wrote:

>> src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp line 7964:
>> 
>>> 7962:     __ BIND(L_Length14);
>>> 7963:     {
>>> 7964:       Register a10 = r5;
>> 
>> It might be nice if these general purpose register operations could be 
>> condensed using e.g. an template type RSeq<N> and rs_xxx methods as has been 
>> done with the vector register operations. Even better if we could implement 
>> RSeq and VSeq as subtypes of a common template type Seq<N, R> with R bound 
>> to Register or FloatRegister as a type parameter.
>> 
>> I'm not suggesting that for this PR but we should look into it via a 
>> follow-up PR.
>
> This is a great idea - will explore further after wrapping up this PR

Made an issue for tracking this here: 
https://bugs.openjdk.org/browse/JDK-8377929

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27946#discussion_r2806319934

Reply via email to