https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118976
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
-mcpu=neoverse-v1 sets the number of SVE bits to 256.
tuning_models/neoversev1.h: SVE_256, /* sve_width */
So you can only run it on targets which have 256 bits.
If you want to override that you can use the `-msve-vector-bits=scalable`
option to say to use the scalable option.
But since you are specifying what cpu you are compiling for, it won't run on a
cpu which has a different bits set.