public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Updated [[musttail]] patchkit
@ 2024-01-31  2:17 Andi Kleen
  2024-01-31  2:17 ` [PATCH v3 1/5] Improve must tail in RTL backend Andi Kleen
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ 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] 20+ messages in thread
* Updated musttail patchkit
@ 2024-06-02 17:16 Andi Kleen
  0 siblings, 0 replies; 20+ 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] 20+ messages in thread
* Updated musttail patchkit
@ 2024-06-22 18:54 Andi Kleen
  0 siblings, 0 replies; 20+ 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] 20+ messages in thread

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

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-31  2:17 Updated [[musttail]] patchkit Andi Kleen
2024-01-31  2:17 ` [PATCH v3 1/5] Improve must tail in RTL backend Andi Kleen
2024-01-31 18:04   ` Marek Polacek
2024-01-31 20:16     ` Andi Kleen
2024-01-31 20:27       ` Marek Polacek
2024-01-31  2:17 ` [PATCH v3 2/5] C++: Support clang compatible [[musttail]] (PR83324) Andi Kleen
2024-01-31 19:55   ` Marek Polacek
2024-01-31 20:21     ` Andi Kleen
2024-01-31 20:35       ` Jakub Jelinek
2024-01-31 21:53         ` Joseph Myers
2024-01-31  2:17 ` [PATCH v3 3/5] C: Implement musttail attribute for returns Andi Kleen
2024-01-31  2:17 ` [PATCH v3 4/5] Add tests for C/C++ musttail attributes Andi Kleen
2024-01-31 12:44   ` Prathamesh Kulkarni
2024-01-31 20:11   ` Marek Polacek
2024-02-01  7:39     ` Andi Kleen
2024-02-01 14:03       ` Marek Polacek
2024-02-01 17:33         ` Joseph Myers
2024-01-31  2:17 ` [PATCH v3 5/5] Add documentation for musttail attribute Andi Kleen
2024-06-02 17:16 Updated musttail patchkit Andi Kleen
2024-06-22 18:54 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).