https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81709
--- Comment #6 from Anatol <anatol.pomozov at gmail dot com> --- > I don't believe compiler needs to do all that. I might miss something, could you please share why? The check for FXSAVE can be a compile time: if compiled for Pentium II tune or later then use FXSAVE otherwise use FSAVE. if (tune >= 'pentium II') FXSAVE else FSAVE ... save whatever FSAVE did not save ... end