public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/82730] extra store/reload of an XMM for every byte extracted
[not found] <bug-82730-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-15 10:51 ` pinskia at gcc dot gnu.org
2021-08-19 6:25 ` crazylht at gmail dot com
1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-15 10:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82730
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Severity|normal |enhancement
Ever confirmed|0 |1
Last reconfirmed| |2021-08-15
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note the gimple level looks good:
_20 = BIT_FIELD_REF <in_18(D), 8, 120>;
_1 = (int) _20;
_21 = BIT_FIELD_REF <in_18(D), 8, 112>;
_2 = (int) _21;
_22 = BIT_FIELD_REF <in_18(D), 8, 104>;
_3 = (int) _22;
_23 = BIT_FIELD_REF <in_18(D), 8, 96>;
_4 = (int) _23;
_24 = BIT_FIELD_REF <in_18(D), 8, 88>;
_5 = (int) _24;
_25 = BIT_FIELD_REF <in_18(D), 8, 80>;
_6 = (int) _25;
_26 = BIT_FIELD_REF <in_18(D), 8, 72>;
_7 = (int) _26;
_27 = BIT_FIELD_REF <in_18(D), 8, 64>;
_8 = (int) _27;
_28 = BIT_FIELD_REF <in_18(D), 8, 56>;
_9 = (int) _28;
_29 = BIT_FIELD_REF <in_18(D), 8, 48>;
_10 = (int) _29;
_30 = BIT_FIELD_REF <in_18(D), 8, 40>;
_11 = (int) _30;
_31 = BIT_FIELD_REF <in_18(D), 8, 32>;
_12 = (int) _31;
_32 = BIT_FIELD_REF <in_18(D), 8, 24>;
_13 = (int) _32;
_33 = BIT_FIELD_REF <in_18(D), 8, 16>;
_14 = (int) _33;
_34 = BIT_FIELD_REF <in_18(D), 8, 8>;
_15 = (int) _34;
_35 = BIT_FIELD_REF <in_18(D), 8, 0>;
_16 = (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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/82730] extra store/reload of an XMM for every byte extracted
[not found] <bug-82730-4@http.gcc.gnu.org/bugzilla/>
2021-08-15 10:51 ` [Bug target/82730] extra store/reload of an XMM for every byte extracted pinskia at gcc dot gnu.org
@ 2021-08-19 6:25 ` crazylht at gmail dot com
1 sibling, 0 replies; 2+ messages in thread
From: crazylht at gmail dot com @ 2021-08-19 6:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82730
--- Comment #2 from Hongtao.liu <crazylht at gmail dot com> ---
Similar as 48609
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-19 6:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-82730-4@http.gcc.gnu.org/bugzilla/>
2021-08-15 10:51 ` [Bug target/82730] extra store/reload of an XMM for every byte extracted pinskia at gcc dot gnu.org
2021-08-19 6:25 ` crazylht at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).