The example missed the mode condition in the replacement text. Committed as obvious.
Segher 2022-05-10 Segher Boessenkool <seg...@kernel.crashing.org> * doc/md.texi (Defining Mode Iterators): Correct example replacement text. --- 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 3b544358bb53..463471f15684 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")]) -- 1.8.3.1