public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/106012] New: rsqrtss instruction generated even if -mno-recip specified
@ 2022-06-17  9:17 vincenzo.innocente at cern dot ch
  2022-06-17 11:16 ` [Bug tree-optimization/106012] " ubizjak at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: vincenzo.innocente at cern dot ch @ 2022-06-17  9:17 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-20 14:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-17  9:17 [Bug target/106012] New: rsqrtss instruction generated even if -mno-recip specified vincenzo.innocente at cern dot ch
2022-06-17 11:16 ` [Bug tree-optimization/106012] " ubizjak at gmail dot com
2022-06-18 20:20 ` pinskia at gcc dot gnu.org
2022-06-19  9:18 ` [Bug tree-optimization/106012] rsqrtps and rcpps instructiona generated even if -fno-reciprocal-math specified vincenzo.innocente at cern dot ch
2022-06-20 10:13 ` [Bug target/106012] rsqrtps and rcpps instructions " rguenth at gcc dot gnu.org
2022-06-20 10:15 ` rguenth at gcc dot gnu.org
2022-12-20 14:23 ` vincenzo.innocente at cern dot ch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).