]> git.ipfire.org Git - thirdparty/gcc.git/commit
AArch64: place branch instruction rules together
authorKarl Meakin <karl.meakin@arm.com>
Thu, 3 Jul 2025 11:48:27 +0000 (12:48 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Thu, 3 Jul 2025 11:48:27 +0000 (12:48 +0100)
commit53242a56844e484e8694dc073be607f16ebbd8d4
treebf028c52576d919643daaa5d0efd4f9a749afad6
parent9930876ed788a7da18ccef0c91f4f12749da1df7
AArch64: place branch instruction rules together

The rules for conditional branches were spread throughout `aarch64.md`.
Group them together so it is easier to understand how `cbranch<mode>4`
is lowered to RTL.

gcc/ChangeLog:

* config/aarch64/aarch64.md (condjump): Move.
(*compare_condjump<GPI:mode>): Likewise.
(aarch64_cb<optab><mode>1): Likewise.
(*cb<optab><mode>1): Likewise.
(tbranch_<code><mode>3): Likewise.
(@aarch64_tb<optab><ALLI:mode><GPI:mode>): Likewise.
gcc/config/aarch64/aarch64.md