]> gcc.gnu.org Git - gcc.git/commit
LoongArch: NFC: Deduplicate crc instruction defines
authorXi Ruoyao <xry111@xry111.site>
Sun, 25 Feb 2024 12:40:41 +0000 (20:40 +0800)
committerXi Ruoyao <xry111@xry111.site>
Thu, 29 Feb 2024 06:48:18 +0000 (14:48 +0800)
commitc556ea076dcbfe2a3059dd0ad2e06a0b1d1fa89b
tree8fddb4d71bc397629275f726222218128cf6d90d
parent3685fae23bb00898749dfc155212c9c5cd3a0980
LoongArch: NFC: Deduplicate crc instruction defines

Introduce an iterator for UNSPEC_CRC and UNSPEC_CRCC to make the next
change easier.

gcc/ChangeLog:

* config/loongarch/loongarch.md (CRC): New define_int_iterator.
(crc): New define_int_attr.
(loongarch_crc_w_<size>_w, loongarch_crcc_w_<size>_w): Unify
into ...
(loongarch_<crc>_w_<size>_w): ... here.
gcc/config/loongarch/loongarch.md
This page took 0.059235 seconds and 5 git commands to generate.