public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "chrbr at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/58475] SH4 insn swapb does not satisfy its constraints: Date: Thu, 19 Sep 2013 13:38:00 -0000 [thread overview] Message-ID: <bug-58475-4-2ydpJIzF0x@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-58475-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58475 --- Comment #1 from chrbr at gcc dot gnu.org --- The problem is that [(set (match_operand:SI 0 "arith_reg_dest" "=r") (ior:SI (and:SI (match_operand:SI 1 "arith_reg_operand" "r") accepts fpul registers in the predicate, but not in the constraints. The reason is that arith_reg_dest is tricked to accept FPUL_REG when TARGET_SH4. There is no reason that a fpul register is accepted as a source operand for an arithmetic op, unless the floating point transfer needs to be expressed in the rtl, so fpul will need reloading. .
next prev parent reply other threads:[~2013-09-19 13:38 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-09-19 13:26 [Bug target/58475] New: " chrbr at gcc dot gnu.org 2013-09-19 13:38 ` chrbr at gcc dot gnu.org [this message] 2013-09-20 13:50 ` [Bug target/58475] " olegendo at gcc dot gnu.org 2013-09-23 8:30 ` chrbr at gcc dot gnu.org 2013-09-23 8:55 ` chrbr 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-58475-4-2ydpJIzF0x@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).