public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "yroux at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67127] New: [ARM] Avoiding odd-number ldrd/strd in movdi introduced a regression on armeb-linux-gnueabihf Date: Wed, 05 Aug 2015 13:23:00 -0000 [thread overview] Message-ID: <bug-67127-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67127 Bug ID: 67127 Summary: [ARM] Avoiding odd-number ldrd/strd in movdi introduced a regression on armeb-linux-gnueabihf Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: yroux at gcc dot gnu.org Target Milestone: --- Hi, Commit r225461 which avoids odd-number ldrd/strd in movdi, and its backport on gcc-5-branch (r225467) introduced several segfault (stack overflow) in the testsuite when the compiler is built for big-endian + vfp targets. The issue is that the movdi pattern calls gen_lowpart (SImode, operands[0]), operands being in DImode, but the mode of the register cannot be changed as it is explained in the macro CANNOT_CHANGE_MODE_CLASS definition: "In big-endian mode, modes greater than word size (i.e. DFmode) are stored in VFP registers in little-endian order. We can't describe that accurately to GCC, so avoid taking subregs of such values." Thus, gen_lowpart_general makes a copy of that register and copy it, which calls again emit_move_insn and gen_movdi and so on ... I've a patch under test that prevent doing this when the mode of a register can't be changed, but the regression discussed in this thread may be back then... https://gcc.gnu.org/ml/gcc-patches/2015-07/msg00216.html
next reply other threads:[~2015-08-05 13:23 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-08-05 13:23 yroux at gcc dot gnu.org [this message] 2015-08-12 13:28 ` [Bug target/67127] " yroux at gcc dot gnu.org 2015-08-17 11:27 ` yroux 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-67127-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).