]> git.ipfire.org Git - thirdparty/gcc.git/commit
s390: Adapt GPR<->VR costs
authorStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Thu, 17 Jul 2025 10:44:06 +0000 (12:44 +0200)
committerStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Thu, 17 Jul 2025 10:44:06 +0000 (12:44 +0200)
commitdf20aac4c6662ef58e7577501ca9bb3c8d4ae507
treebab271fc582c5039c22df0d56822a8d86bfa2fe7
parentc66760923188f630fbeb68c22ac521d2f4cae645
s390: Adapt GPR<->VR costs

Moving between GPRs and VRs in any mode with size less than or equal to
8 bytes becomes available with vector extensions.  Without adapting
costs for those loads, we typically go over memory.

gcc/ChangeLog:

* config/s390/s390.cc (s390_register_move_cost): Add costing for
vlvg/vlgv.
gcc/config/s390/s390.cc