Re: [PATCH v9 04/10] C++: Support clang compatible [[musttail]] (PR83324)

2024-07-13 Thread Andi Kleen
Updated version with common code for C/C++ extracted in c-family. Other than that no changes. Is this version ok to commit? --- This patch implements a clang compatible [[musttail]] attribute for returns. musttail is useful as an alternative to computed goto for interpreters. With computed

[PATCH v9 04/10] C++: Support clang compatible [[musttail]] (PR83324)

2024-07-08 Thread Andi Kleen
This patch implements a clang compatible [[musttail]] attribute for returns. musttail is useful as an alternative to computed goto for interpreters. With computed goto the interpreter function usually ends up very big which causes problems with register allocation and other per function