Really? I find it strange that on GNU gcc you have to say “gnu” in [[gnu::musttail]].
BTW having good C tail call support opens the door to a faster protocol to jump from one host function to another. Currently the only parameter of a host function is the processor state that contains many things including the state of the GVM registers and the “pc”. It would be interesting to explore passing the GVM registers and the pc in the host function parameters. That should be faster than the current caching mechanism that has to read the processor state at the entry of the host function, and write the processor state at the end of the host function.
Marc
On Aug 24, 2024, at 11:01 PM, Lucier, Bradley J lucier@purdue.edu wrote:
This is the notation.
On Aug 24, 2024, at 22:51, Marc Feeley feeley@iro.umontreal.ca wrote:
- Does support [[gnu::musttail]] and [[clang::musttail]] and they appear to be synonyms.