https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103503
--- Comment #4 from H. Peter Anvin <hpa at zytor dot com> --- The interrupt attribute typically does two things: 1. It changes the return instruction; 2. It marks all registers as saved. 2 is exactly the *opposite* of what I want; I would like to improve performance by the fact that the compiler-invisible entry flow has already saved all registers, whether or not they are saved in the ABI. Thus, I would like it to treat all (non-fixed) registers as *clobbered*, not *saved*. Ideally, "nosaved" and "interrupt" should be possible to use together, to get effect #1 of the interrupt attribute, but that is usually less important.