public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/111732] New: genmatch missed optimization Date: Mon, 09 Oct 2023 09:05:35 +0000 [thread overview] Message-ID: <bug-111732-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111732 Bug ID: 111732 Summary: genmatch missed optimization Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- For (for coss (BUILT_IN_COS BUILT_IN_COSF BUILT_IN_COSL) (for sins (BUILT_IN_SIN BUILT_IN_SINF BUILT_IN_SINL) (simplify (abs (sins (coss @0))) @0))) the cross product could be code generated more efficiently when we'd delay for substitution but we don't, because it's only implemented for (match ...) and not (simplify ...). Specifically handling ordering correctly is tricky (match is unordered). My original idea was to delay for lowering to decision tree insertion time (split upon a "conflict" with another pattern).
next reply other threads:[~2023-10-09 9:05 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-10-09 9:05 rguenth at gcc dot gnu.org [this message] 2023-10-09 12:24 ` [Bug middle-end/111732] " rguenth at gcc dot gnu.org 2023-10-09 12:26 ` rguenth at gcc dot gnu.org 2023-10-10 17:49 ` pinskia at gcc dot gnu.org
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-111732-4@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).