The current code tries to use an SVE length check to validate that the compile-time length matches the run-time length in the current hardware. However, it appears that the behavior of svcntw() is to return the compile-time fixed size if used in fixed-size code.
This PR moves the validation check into a new veneer that is compiled with SVE, but without a fixed vector length.
The current code tries to use an SVE length check to validate that the compile-time length matches the run-time length in the current hardware. However, it appears that the behavior of
svcntw()
is to return the compile-time fixed size if used in fixed-size code.This PR moves the validation check into a new veneer that is compiled with SVE, but without a fixed vector length.