public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-274] doc: Fix mode iterator example
@ 2022-05-10 16:07 Segher Boessenkool
0 siblings, 0 replies; only message in thread
From: Segher Boessenkool @ 2022-05-10 16:07 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:79b9d83947e137fbbd85ac6593df4e27fe37cef3
commit r13-274-g79b9d83947e137fbbd85ac6593df4e27fe37cef3
Author: Segher Boessenkool <segher@kernel.crashing.org>
Date: Tue May 10 16:00:05 2022 +0000
doc: Fix mode iterator example
The example missed the mode condition in the replacement text.
2022-05-10 Segher Boessenkool <segher@kernel.crashing.org>
* doc/md.texi (Defining Mode Iterators): Correct example replacement
text.
Diff:
---
gcc/doc/md.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 3b544358bb5..463471f1568 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -11510,7 +11510,7 @@ This is exactly equivalent to:
[(set (match_operand:DI 0 "register_operand" "=d")
(minus:DI (match_operand:DI 1 "register_operand" "d")
(match_operand:DI 2 "register_operand" "d")))]
- ""
+ "TARGET_64BIT"
"dsubu\t%0,%1,%2"
[(set_attr "type" "arith")
(set_attr "mode" "DI")])
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-10 16:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10 16:07 [gcc r13-274] doc: Fix mode iterator example Segher Boessenkool
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).