]> git.ipfire.org Git - thirdparty/gcc.git/commit
s390: Fix unresolved iterators bhfgq and xdee
authorStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Tue, 16 Jul 2024 09:23:10 +0000 (11:23 +0200)
committerStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Tue, 16 Jul 2024 09:23:10 +0000 (11:23 +0200)
commita4abda934aa426137f059934629d3241f008e113
tree63c046f30684a2c36ae9e5a548ac3c99b4f3f31a
parent896393791ee34ffc176c87d232dfee735db3aaab
s390: Fix unresolved iterators bhfgq and xdee

Code attribute bhfgq is missing a mapping for TF.  This results in
unresolved iterators in assembler templates for *bswaptf.

With the TF mapping added the base mnemonics vlbr and vstbr are not
"used" anymore but only the extended mnemonics (vlbr<bhfgq> was
interpreted as vlbr; likewise for vstbr).  Therefore, remove the base
mnemonics from the scheduling description, otherwise, genattrtab would
error about unknown mnemonics.

Similarly, we end up with unresolved iterators in assembler templates
for mulfprx23 since code attribute xdee is missing a mapping for FPRX2.

gcc/ChangeLog:

* config/s390/3931.md (vlbr, vstbr): Remove.
* config/s390/s390.md (xdee): Add FPRX2 mapping.
* config/s390/vector.md (bhfgq): Add TF mapping.
gcc/config/s390/3931.md
gcc/config/s390/s390.md
gcc/config/s390/vector.md