From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A6E27385701D; Sun, 15 Aug 2021 10:51:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A6E27385701D From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82730] extra store/reload of an XMM for every byte extracted Date: Sun, 15 Aug 2021 10:51:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization, ssemmx X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status bug_severity everconfirmed cf_reconfirmed_on 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2021 10:51:16 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82730 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Severity|normal |enhancement Ever confirmed|0 |1 Last reconfirmed| |2021-08-15 --- Comment #1 from Andrew Pinski --- Note the gimple level looks good: _20 =3D BIT_FIELD_REF ; _1 =3D (int) _20; _21 =3D BIT_FIELD_REF ; _2 =3D (int) _21; _22 =3D BIT_FIELD_REF ; _3 =3D (int) _22; _23 =3D BIT_FIELD_REF ; _4 =3D (int) _23; _24 =3D BIT_FIELD_REF ; _5 =3D (int) _24; _25 =3D BIT_FIELD_REF ; _6 =3D (int) _25; _26 =3D BIT_FIELD_REF ; _7 =3D (int) _26; _27 =3D BIT_FIELD_REF ; _8 =3D (int) _27; _28 =3D BIT_FIELD_REF ; _9 =3D (int) _28; _29 =3D BIT_FIELD_REF ; _10 =3D (int) _29; _30 =3D BIT_FIELD_REF ; _11 =3D (int) _30; _31 =3D BIT_FIELD_REF ; _12 =3D (int) _31; _32 =3D BIT_FIELD_REF ; _13 =3D (int) _32; _33 =3D BIT_FIELD_REF ; _14 =3D (int) _33; _34 =3D BIT_FIELD_REF ; _15 =3D (int) _34; _35 =3D BIT_FIELD_REF ; _16 =3D (int) _35; ----- CUT ---- It is the way extractions are done for bytes is not good. Note MSVC is the only one which does extractions in a register only and not= do a store to the stack.=