]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[PATCH 2/2] ia64: Expand MAX_VECT_LEN to 16
authorTomas Glozar <tglozar@gmail.com>
Thu, 8 Jan 2026 15:42:01 +0000 (08:42 -0700)
committerJeff Law <jeffrey.law@oss.qualcomm.com>
Thu, 8 Jan 2026 15:42:01 +0000 (08:42 -0700)
MAX_VECT_LEN is set to 8 on ia64, which is lower than on all other
targets, where it is 16 at minimum.

Some of the machine modes of ia64 are internally 16-byte wide,
causing stringop-overflow to be unhappy when checking a loop in
ia64_vectorize_vec_perm_const(). This causes bootstrap to fail.

Make stringop-overflow happy by raising the length to 16.

gcc/ChangeLog:

* config/ia64/ia64.cc (MAX_VECT_LEN): Set to 16 from 8.

gcc/config/ia64/ia64.cc

index 055af3e8617cbbc2ffc3a8d7374538cb046910b6..92ae6472c3cf5ea5d80b24acb317471e494f54db 100644 (file)
@@ -343,7 +343,7 @@ static bool ia64_modes_tieable_p (machine_mode, machine_mode);
 static bool ia64_can_change_mode_class (machine_mode, machine_mode,
                                        reg_class_t);
 
-#define MAX_VECT_LEN   8
+#define MAX_VECT_LEN   16
 
 struct expand_vec_perm_d
 {