From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7890) id 0208B385B515; Thu, 22 Dec 2022 17:05:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0208B385B515 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671728728; bh=MvFBTt3yqVUoNYbeDREWzveXZQAsuvUH9ATJ3w7QuIo=; h=From:To:Subject:Date:From; b=WdIRnlauD29IvnPVuxL1pcUc7wcCcAh6MDuoPl8SzcBTJW8R+h57KMny5AlOnrz7M GNum/sW2/mp4xm3ez4VF+2M0zjVsF8G8ApGLODsbcuTOi5ffe8FK1jXx3VwaYhHHa0 CLh/ktOIyZtCYp6ysZ4kxoBWBjHzGtt9Q4HQ+k58= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Andrew Carlotti To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-4848] docs: Link to correct section for constraint modifiers X-Act-Checkin: gcc X-Git-Author: Andrew Carlotti X-Git-Refname: refs/heads/master X-Git-Oldrev: b97c33fbd28e74a206c81c96a9b0b9fa3c8545d6 X-Git-Newrev: e48864e51d2506cdcf04d5ebb9a17f3a997b65bf Message-Id: <20221222170528.0208B385B515@sourceware.org> Date: Thu, 22 Dec 2022 17:05:27 +0000 (GMT) List-Id: https://gcc.gnu.org/g:e48864e51d2506cdcf04d5ebb9a17f3a997b65bf commit r13-4848-ge48864e51d2506cdcf04d5ebb9a17f3a997b65bf Author: Andrew Carlotti Date: Fri Dec 16 15:11:18 2022 +0000 docs: Link to correct section for constraint modifiers gcc/ChangeLog: * doc/md.texi: Fix incorrect pxref. 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 482e86f15d8..78dc6d72070 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -1511,7 +1511,7 @@ operand 1 (meaning it must match operand 0), and @samp{dKs} for operand 2. The second alternative has @samp{d} (data register) for operand 0, @samp{0} for operand 1, and @samp{dmKs} for operand 2. The @samp{=} and @samp{%} in the constraints apply to all the alternatives; their -meaning is explained in the next section (@pxref{Class Preferences}). +meaning is explained in a later section (@pxref{Modifiers}). If all the operands fit any one alternative, the instruction is valid. Otherwise, for each alternative, the compiler counts how many instructions