]> git.ipfire.org Git - thirdparty/gcc.git/commit
s390: Fix s390_constant_via_vgbm_p() [PR118362]
authorStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Thu, 9 Jan 2025 16:49:02 +0000 (17:49 +0100)
committerStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Thu, 9 Jan 2025 16:49:02 +0000 (17:49 +0100)
commit2f31819a0ac7b000fa3a456e5b068242e954edac
treed206cbbbc1c869347e152ff440c8930204fd8475
parentca79349c050c27ff466735ba78d2e2bbce56ffdc
s390: Fix s390_constant_via_vgbm_p() [PR118362]

Optimization s390_constant_via_vgbm_p() should only apply to constant
vectors which can be expressed by the hardware, i.e., which have a size
of at most 16-bytes, similar as it is done for s390_constant_via_vgm_p()
and s390_constant_via_vrepi_p().

gcc/ChangeLog:

PR target/118362
* config/s390/s390.cc (s390_constant_via_vgbm_p): Allow at most
16-byte vectors.
gcc/config/s390/s390.cc