https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106012
Bug ID: 106012 Summary: rsqrtss instruction generated even if -mno-recip specified Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vincenzo.innocente at cern dot ch Target Milestone: --- with option -Ofast -mno-recip rsqrtss instruction is still generated. https://godbolt.org/z/hGxrG7xPh inhibiting rsqrtss and rcpss is critical to obtain identical results when running on INTEL and AMD platforms. Having to inhibit Ofast is clearly a larger performance penalty.