public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Updated musttail patchkit
@ 2024-06-02 17:16 Andi Kleen
  2024-06-02 17:16 ` [PATCH v7 1/9] Improve must tail in RTL backend Andi Kleen
                   ` (8 more replies)
  0 siblings, 9 replies; 25+ messages in thread
From: Andi Kleen @ 2024-06-02 17:16 UTC (permalink / raw)
  To: gcc-patches; +Cc: richard.guenther, nathan, josmyers, richard.sandiford, jason

This version fixes C++ template propagation of musttail, avoids ICEs for
ARM (and probably some other targets) generation of -O0 tail calls,
and improves the error messages in tree-musttail again, as well as
the documentation.

I bootstrapped/tested it on x86_64-linux, and checked the musttail tests
work on arm and riscv targets.

-O0 is still not as good as clang (e.g. it doesn't handle struct
returns), but I believe it's good enough for now to be usable.


^ permalink raw reply	[flat|nested] 25+ messages in thread
* Updated musttail patchkit
@ 2024-06-22 18:54 Andi Kleen
  0 siblings, 0 replies; 25+ messages in thread
From: Andi Kleen @ 2024-06-22 18:54 UTC (permalink / raw)
  To: gcc-patches

- Fix problems with encoding musttail in tree structure (Thanks Jakub and Jason)
- Fixes a miscompilation that would break bootstrap with --enable-checking=release
- Avoids a 0.8% compile time penalty at -O0 for the new musttail pass by using a cfun flag
that is discovered by tree-cfg
- Enables translation of musttail error messages
- Further improves error reporting, avoiding "other reasons" error messages
for various cases and reporting the correct error in others.
- Adjusted the test suite to powerpc sibcall limitations
- Addressed C++ review feedback
- Improves dump file output
- Improves the documentation
- Some random cleanups
- Rebased on trunk

Tested full bootstrap on x86_64-linux and powerpc64le-linux, as well
as a x86_64 LTO profiled bootstrap and some x86_64 testing with
--enable-release=checking.


^ permalink raw reply	[flat|nested] 25+ messages in thread
* Updated [[musttail]] patchkit
@ 2024-01-31  2:17 Andi Kleen
  0 siblings, 0 replies; 25+ messages in thread
From: Andi Kleen @ 2024-01-31  2:17 UTC (permalink / raw)
  To: gcc-patches

Fixed all earlier review comments.


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2024-06-22 18:56 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-02 17:16 Updated musttail patchkit Andi Kleen
2024-06-02 17:16 ` [PATCH v7 1/9] Improve must tail in RTL backend Andi Kleen
2024-06-10  0:55   ` [PING] " Andi Kleen
2024-06-14 13:43     ` [PING^2] " Andi Kleen
2024-06-20 18:13       ` [PING^3] " Andi Kleen
2024-06-02 17:16 ` [PATCH v7 2/9] Fix pro_and_epilogue for sibcalls at -O0 Andi Kleen
2024-06-02 17:30   ` Andrew Pinski
2024-06-02 20:27     ` Andi Kleen
2024-06-02 17:16 ` [PATCH v7 3/9] Add a musttail generic attribute to the c-attribs table Andi Kleen
2024-06-02 17:16 ` [PATCH v7 4/9] C++: Support clang compatible [[musttail]] (PR83324) Andi Kleen
2024-06-03 14:42   ` Jason Merrill
2024-06-03 15:33     ` Andi Kleen
2024-06-03 15:44       ` Jakub Jelinek
2024-06-03 16:29         ` Jason Merrill
2024-06-03 19:35           ` Andi Kleen
2024-06-03 20:27             ` Jason Merrill
2024-06-04  0:17               ` Andi Kleen
2024-06-02 17:16 ` [PATCH v7 5/9] C: Implement musttail attribute for returns Andi Kleen
2024-06-02 17:16 ` [PATCH v7 6/9] Add tests for C/C++ musttail attributes Andi Kleen
2024-06-03 14:46   ` Jason Merrill
2024-06-02 17:16 ` [PATCH v7 7/9] Enable musttail tail conversion even when not optimizing Andi Kleen
2024-06-02 17:16 ` [PATCH v7 8/9] Give better error messages for musttail Andi Kleen
2024-06-02 17:16 ` [PATCH v7 9/9] Add documentation for musttail attribute Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2024-06-22 18:54 Updated musttail patchkit Andi Kleen
2024-01-31  2:17 Updated [[musttail]] patchkit Andi Kleen

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).