On Tue, 17 Mar 2026 05:38:42 GMT, Xiaohong Gong <[email protected]> wrote:

>> Like other stubs (crypto, non copy fill stubs) , SVML stubs themselves are 
>> agnostic to MaxVectorSize it's just the selection of stub/suffix which is  
>> guarded by vectorBitSize / feature check.
>
> Good to know. Thanks for your explanation!

The question is whether vector math stubs should be used or not when 
corresponding vector shapes aren't supported. That's what the asserts were 
about. The assumption was that the support is there when SVML stubs are used. 
I'd prefer `VectorMathLibrary` to be adjusted to take 
`VectorShape.getMaxVectorBitSize()` into account.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30015#discussion_r3088064508

Reply via email to