public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112943] [14 Regression] ICE: in gen_reg_rtx, at emit-rtl.cc:1176 with -O2 -march=westmere -mapxf Date: Mon, 11 Dec 2023 11:09:37 +0000 [thread overview] Message-ID: <bug-112943-4-M8VjVdjL83@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-112943-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112943 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crazylht at gmail dot com, | |jakub at gcc dot gnu.org Priority|P3 |P1 Summary|ICE: in gen_reg_rtx, at |[14 Regression] ICE: in |emit-rtl.cc:1176 with -O2 |gen_reg_rtx, at |-march=westmere -mapxf |emit-rtl.cc:1176 with -O2 | |-march=westmere -mapxf Target Milestone|--- |14.0 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Why does ix86_expand_binary_operator have the use_ndd argument at all? Shouldn't it always act as if the argument is TARGET_APX_NDD? Or, any particular reason why it isn't done in ashl<mode>3 (but in other shifts/rotates)? The ICE is because the 14500 if (!op_equal_p && !TARGET_APX_NDD) 14501 emit_move_insn (operands[3], operands[1]); 14502 rtx op_tmp = TARGET_APX_NDD ? operands[1] : operands[3]; 14503 emit_insn (gen_ashl<mode>3 (operands[3], op_tmp, GEN_INT (bits))); splitter uses gen_ashl<mode>3 expander post-reload, and due to ix86_expand_binary_operator not being called with TARGET_APX_NDD, it attempts to force the MEM operand into a REG, which needs a pseudo. *ashl<mode>3_1 pattern certainly uses TARGET_APX_NDD in the ix86_binary_operator_ok call.
next prev parent reply other threads:[~2023-12-11 11:09 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-12-10 9:53 [Bug target/112943] New: " zsojka at seznam dot cz 2023-12-11 11:09 ` jakub at gcc dot gnu.org [this message] 2023-12-11 12:24 ` [Bug target/112943] [14 Regression] " wwwhhhyyy333 at gmail dot com 2023-12-12 2:55 ` liuhongt at gcc dot gnu.org 2023-12-12 3:25 ` cvs-commit at gcc dot gnu.org 2023-12-12 3:33 ` hongyuw at gcc dot gnu.org 2023-12-19 4:34 ` hongyuw 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-112943-4-M8VjVdjL83@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).