From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1C9E03858C2A; Fri, 19 Jan 2024 21:13:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C9E03858C2A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705698792; bh=LfT6t9nGRrjZqxFQHxj6dMnaiyzuT5aieeBSBi187Ug=; h=From:To:Subject:Date:In-Reply-To:References:From; b=x2vYtIl5rNb6DxyBg4yi20a2wK7NX01LxSrdwTMY7sKtBUIq90qnxOch3/f8k8Nty 3JaG5PLHf0azQzH7rHb1eDege7TqGGwQRRHnRT3ipZM3MIcrRgDYgpSjZXgch9lLpB UNEI0oQmwCVqVM5eVNiPBQkyw/m0VspKHESk7muo= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/113508] widen_ssumm3 documentation needs to mention which mode is m here Date: Fri, 19 Jan 2024 21:13:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113508 --- Comment #1 from Andrew Pinski --- The current documentation reads: ``` Operands 0 and 2 are of the same mode, which is wider than the mode of oper= and 1. Add operand 1 to operand 2 and place the widened result in operand 0. (T= his is used express accumulation of elements into an accumulator of a wider mod= e.) ``` The m mode here is the smaller mode. So it would be better if it read: ``` Operands 0 and 2 are of the same mode, which is wider than the mode (m) of operand 1. Add operand 1 to operand 2 and place the widened result in opera= nd 0. (This is used express accumulation of elements into an accumulator of a wider mode.) ``` All of the other ones are still the smaller mode too.=