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/101989] Fail to optimize (a & b) | (c & ~b) to vpternlog instruction. Date: Thu, 04 Nov 2021 08:10:13 +0000 [thread overview] Message-ID: <bug-101989-4-IB3WObtWbv@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-101989-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101989 --- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by hongtao Liu <liuhongt@gcc.gnu.org>: https://gcc.gnu.org/g:bc9c8e5f8af08c513a4a4c329c50ba6559ff6d5c commit r12-4882-gbc9c8e5f8af08c513a4a4c329c50ba6559ff6d5c Author: liuhongt <hongtao.liu@intel.com> Date: Wed Nov 3 16:32:22 2021 +0800 Extend vternlog define_insn_and_split to memory_operand to enable more optimziation. gcc/ChangeLog: PR target/101989 * config/i386/predicates.md (reg_or_notreg_operand): Rename to .. (regmem_or_bitnot_regmem_operand): .. and extend to handle memory_operand. * config/i386/sse.md (*<avx512>_vpternlog<mode>_1): Force_reg the operands which are required to be register_operand. (*<avx512>_vpternlog<mode>_2): Ditto. (*<avx512>_vpternlog<mode>_3): Ditto. (*<avx512>_vternlog<mode>_all): Disallow embeded broadcast for vector HFmodes since it's not a real AVX512FP16 instruction. gcc/testsuite/ChangeLog: * gcc.target/i386/pr101989-3.c: New test.
next prev parent reply other threads:[~2021-11-04 8:10 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-20 1:46 [Bug target/101989] New: " crazylht at gmail dot com 2021-08-20 1:50 ` [Bug target/101989] " crazylht at gmail dot com 2021-08-20 2:00 ` pinskia at gcc dot gnu.org 2021-08-24 9:45 ` cvs-commit at gcc dot gnu.org 2021-08-24 10:34 ` cvs-commit at gcc dot gnu.org 2021-08-24 10:35 ` crazylht at gmail dot com 2021-08-25 1:57 ` cvs-commit at gcc dot gnu.org 2021-08-25 2:32 ` pinskia at gcc dot gnu.org 2021-11-04 8:10 ` cvs-commit at gcc dot gnu.org [this message] 2022-09-25 19:35 ` ak 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-101989-4-IB3WObtWbv@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).