https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92086

Martim Carbone <mcarbone at vmware dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcarbone at vmware dot com

--- Comment #10 from Martim Carbone <mcarbone at vmware dot com> ---
Another example where the proposed optimization would make sense is a
hypervisor's VM-exit handler. This is the entry point for guest-to-hypervisor
mode transitions, and is often implemented by having an asm preamble call a
noreturn C function that handles the exit and then directly resumes the guest.
Saving callee-saved registers in this function just adds unnecessary overhead
to a very hot path.

Reply via email to