public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-5702] RISC-V: Reorder comment on SFB patterns
@ 2023-11-22 1:21 Maciej W. Rozycki
0 siblings, 0 replies; only message in thread
From: Maciej W. Rozycki @ 2023-11-22 1:21 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:3bb4000c5f5f70cf5cb651314a939f1cbc65046d
commit r14-5702-g3bb4000c5f5f70cf5cb651314a939f1cbc65046d
Author: Maciej W. Rozycki <macro@embecosm.com>
Date: Wed Nov 22 01:18:23 2023 +0000
RISC-V: Reorder comment on SFB patterns
Our `mov<mode>cc' expander is no longer specific to short forward branch
targets, so move its associated comment accordingly.
gcc/
* config/riscv/riscv.md (mov<mode>cc): Move comment on SFB
patterns over to...
(*mov<GPR:mode><X:mode>cc): ... here.
Diff:
---
gcc/config/riscv/riscv.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/config/riscv/riscv.md b/gcc/config/riscv/riscv.md
index 1522b0b27cc..e6d90c2265f 100644
--- a/gcc/config/riscv/riscv.md
+++ b/gcc/config/riscv/riscv.md
@@ -2655,8 +2655,6 @@
[(set_attr "type" "branch")
(set_attr "mode" "none")])
-;; Patterns for implementations that optimize short forward branches.
-
(define_expand "mov<mode>cc"
[(set (match_operand:GPR 0 "register_operand")
(if_then_else:GPR (match_operand 1 "comparison_operator")
@@ -2671,6 +2669,8 @@
FAIL;
})
+;; Patterns for implementations that optimize short forward branches.
+
(define_insn "*mov<GPR:mode><X:mode>cc"
[(set (match_operand:GPR 0 "register_operand" "=r,r")
(if_then_else:GPR
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-22 1:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-22 1:21 [gcc r14-5702] RISC-V: Reorder comment on SFB patterns Maciej W. Rozycki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).