]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: Fix mode iterator example
authorSegher Boessenkool <segher@kernel.crashing.org>
Tue, 10 May 2022 16:00:05 +0000 (16:00 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Tue, 10 May 2022 16:06:27 +0000 (16:06 +0000)
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.

gcc/doc/md.texi

index 3b544358bb531a415408019a1723c787ee10d32d..463471f15684c31dce6c72f1a9b4e54e4f79bd03 100644 (file)
@@ -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")])