https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124328
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Torbjorn Svensson <[email protected]>: https://gcc.gnu.org/g:0749f7d61ca064503feefc4f8e1569ad53281c4e commit r17-7091-g0749f7d61ca064503feefc4f8e1569ad53281c4e Author: Torbjörn SVENSSON <[email protected]> Date: Mon Nov 2 13:09:28 2026 +0100 arm: Allow odd register pairs when MVE or CDE is enabled [PR124328] Enabling MVE or CDE currently restricts multiword values to even register pairs, even when the instruction does not require one. Allow multiword values to start at odd registers in Thumb-2. Add Tr and Tl constraints for even-numbered general and low registers, and use them in the relevant MVE and CDE patterns. gcc/ChangeLog: PR target/124328 * config/arm/arm.cc (arm_hard_regno_mode_ok): Remove the Thumb-2 even-register restriction for MVE and CDE. * config/arm/constraints.md (Tr, Tl): New register constraints. * config/arm/iterators.md (cde_constraint): New mode attribute. * config/arm/arm.md (arm_cx1<mode>, arm_cx1a<mode>, arm_cx2<mode>, arm_cx2a<mode>, arm_cx3<mode>, arm_cx3a<mode>): Use cde_constraint for the destination. * config/arm/mve.md: Use Tr and Tl where an even register pair is required. Signed-off-by: Torbjörn SVENSSON <[email protected]>
