public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/80372] non-optimal handling of copying a std::complex<double>
[not found] <bug-80372-4@http.gcc.gnu.org/bugzilla/>
@ 2021-07-24 9:30 ` pinskia at gcc dot gnu.org
2021-07-24 9:31 ` pinskia at gcc dot gnu.org
2023-05-15 7:25 ` [Bug target/80372] " pinskia at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-24 9:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80372
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2017-04-09 00:00:00 |2021-7-24
Severity|normal |enhancement
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug middle-end/80372] non-optimal handling of copying a std::complex<double>
[not found] <bug-80372-4@http.gcc.gnu.org/bugzilla/>
2021-07-24 9:30 ` [Bug middle-end/80372] non-optimal handling of copying a std::complex<double> pinskia at gcc dot gnu.org
@ 2021-07-24 9:31 ` pinskia at gcc dot gnu.org
2023-05-15 7:25 ` [Bug target/80372] " pinskia at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-24 9:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80372
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
;; MEM[(struct complex *)res_1(D) + 16B] = MEM[(const struct complex
&)res_1(D)];
(insn 7 6 8 (set (reg:DF 83)
(mem:DF (reg/v/f:DI 82 [ res ]) [4 MEM[(const struct complex
&)res_1(D)]+0 S8 A64])) "/app/example.cpp":3:14 -1
(nil))
(insn 8 7 9 (set (mem:DF (plus:DI (reg/v/f:DI 82 [ res ])
(const_int 16 [0x10])) [4 MEM[(struct complex *)res_1(D) +
16B]+0 S8 A64])
(reg:DF 83)) "/app/example.cpp":3:14 -1
(nil))
(insn 9 8 10 (set (reg:DF 84)
(mem:DF (plus:DI (reg/v/f:DI 82 [ res ])
(const_int 8 [0x8])) [4 MEM[(const struct complex &)res_1(D)]+8
S8 A64])) "/app/example.cpp":3:14 -1
(nil))
(insn 10 9 0 (set (mem:DF (plus:DI (reg/v/f:DI 82 [ res ])
(const_int 24 [0x18])) [4 MEM[(struct complex *)res_1(D) +
16B]+8 S8 A64])
(reg:DF 84)) "/app/example.cpp":3:14 -1
(nil))
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/80372] non-optimal handling of copying a std::complex<double>
[not found] <bug-80372-4@http.gcc.gnu.org/bugzilla/>
2021-07-24 9:30 ` [Bug middle-end/80372] non-optimal handling of copying a std::complex<double> pinskia at gcc dot gnu.org
2021-07-24 9:31 ` pinskia at gcc dot gnu.org
@ 2023-05-15 7:25 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-15 7:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80372
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |target
Last reconfirmed|2021-07-24 00:00:00 |2023-5-15
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
AARCH64 produces this:
ldp d30, d31, [x0]
stp d30, d31, [x0, 16]
Which is just perfect.
So this is a target issue.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-15 7:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-80372-4@http.gcc.gnu.org/bugzilla/>
2021-07-24 9:30 ` [Bug middle-end/80372] non-optimal handling of copying a std::complex<double> pinskia at gcc dot gnu.org
2021-07-24 9:31 ` pinskia at gcc dot gnu.org
2023-05-15 7:25 ` [Bug target/80372] " pinskia at gcc dot gnu.org
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).