public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108922] fmod() 13x slowdown in gcc4.9 dropping "fprem" and calling fmod() Date: Mon, 27 Feb 2023 21:11:09 +0000 [thread overview] Message-ID: <bug-108922-4-snPs37bRQZ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-108922-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108922 --- Comment #31 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Uros Bizjak <uros@gcc.gnu.org>: https://gcc.gnu.org/g:8020c9c42349f51f75239b9d35a2be41848a97bd commit r13-6361-g8020c9c42349f51f75239b9d35a2be41848a97bd Author: Uros Bizjak <ubizjak@gmail.com> Date: Mon Feb 27 22:10:01 2023 +0100 i386: Do not constrain fmod and remainder patterns with flag_finite_math_only [PR108922] According to Intel ISA manual, fprem and fprem1 return NaN when invalid arithmetic exception is generated. This is documented in Table 8-10 of the ISA manual and makes these two instructions fully IEEE compatible. The reverted patch was based on the data from table 3-30 and 3-31 of the Intel ISA manual, where results in case of st(0) being infinity or st(1) being 0 are not specified. 2023-02-27 Uroš Bizjak <ubizjak@gmail.com> gcc/ChangeLog: PR target/108922 Revert: * config/i386/i386.md (fmodxf3): Enable for flag_finite_math_only only. (fmod<mode>3): Ditto. (fpremxf4_i387): Ditto. (reminderxf3): Ditto. (reminder<mode>3): Ditto. (fprem1xf4_i387): Ditto.
next prev parent reply other threads:[~2023-02-27 21:11 UTC|newest] Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-02-24 12:22 [Bug target/108922] New: fmod() 13x slowdown in gcc 4.8->4.9 " jkratochvil at azul dot com 2023-02-25 2:41 ` [Bug target/108922] fmod() 13x slowdown in gcc4.9 " pinskia at gcc dot gnu.org 2023-02-25 2:47 ` pinskia at gcc dot gnu.org 2023-02-25 9:58 ` amonakov at gcc dot gnu.org 2023-02-25 10:24 ` amonakov at gcc dot gnu.org 2023-02-25 10:30 ` ubizjak at gmail dot com 2023-02-25 10:49 ` ubizjak at gmail dot com 2023-02-25 10:56 ` amonakov at gcc dot gnu.org 2023-02-26 6:39 ` jkratochvil at azul dot com 2023-02-26 8:01 ` amonakov at gcc dot gnu.org 2023-02-26 11:16 ` jkratochvil at azul dot com 2023-02-26 21:28 ` ubizjak at gmail dot com 2023-02-26 21:32 ` ubizjak at gmail dot com 2023-02-26 23:36 ` jkratochvil at azul dot com 2023-02-27 7:13 ` ubizjak at gmail dot com 2023-02-27 8:17 ` amonakov at gcc dot gnu.org 2023-02-27 8:31 ` jakub at gcc dot gnu.org 2023-02-27 9:10 ` ubizjak at gmail dot com 2023-02-27 9:17 ` jakub at gcc dot gnu.org 2023-02-27 9:32 ` amonakov at gcc dot gnu.org 2023-02-27 9:33 ` ubizjak at gmail dot com 2023-02-27 9:49 ` ubizjak at gmail dot com 2023-02-27 10:01 ` amonakov at gcc dot gnu.org 2023-02-27 10:10 ` jkratochvil at azul dot com 2023-02-27 10:13 ` jkratochvil at azul dot com 2023-02-27 10:16 ` jakub at gcc dot gnu.org 2023-02-27 10:31 ` ubizjak at gmail dot com 2023-02-27 10:41 ` jakub at gcc dot gnu.org 2023-02-27 10:46 ` ubizjak at gmail dot com 2023-02-27 10:47 ` jakub at gcc dot gnu.org 2023-02-27 10:58 ` ubizjak at gmail dot com 2023-02-27 21:11 ` cvs-commit at gcc dot gnu.org [this message] 2023-02-27 21:13 ` ubizjak at gmail dot com 2023-02-28 16:51 ` hjl.tools at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-108922-4-snPs37bRQZ@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).