https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119781
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >1) Updating documentation for the -msahf option to mention that Apple Rosetta >2 does not support this instruction would be very helpful. I will send a patch >with a proposed documentation update. No, Please don't. The documentation for Rosetta should be what updated instead. >Note other compilers do not appear to generate sahf instruction by default. Wrong, see my link.