public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "carrot at google dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/61202] gcc generates invalid sqdmulh instruction Date: Sat, 17 May 2014 00:45:00 -0000 [thread overview] Message-ID: <bug-61202-4-6ztvw5k5r3@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-61202-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61202 --- Comment #1 from Carrot <carrot at google dot com> --- In arm_neon.h, we have __extension__ static __inline int16x8_t __attribute__ ((__always_inline__)) vqdmulhq_n_s16 (int16x8_t a, int16_t b) { int16x8_t result; __asm__ ("sqdmulh %0.8h,%1.8h,%2.h[0]" : "=w"(result) : "w"(a), "w"(b) : /* No clobbers */); return result; } The register constraint for the last operand of sqdmulh is "w", it means FP_REGS, the correct constraint should be "x", means FP_LO_REGS. The trunk has the same problem.
next prev parent reply other threads:[~2014-05-17 0:45 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-05-16 17:08 [Bug target/61202] New: " carrot at google dot com 2014-05-17 0:45 ` carrot at google dot com [this message] 2014-05-19 8:31 ` [Bug target/61202] " jgreenhalgh at gcc dot gnu.org 2014-05-19 19:51 ` carrot at google dot com 2014-05-21 20:47 ` carrot at gcc dot gnu.org 2014-05-27 15:42 ` java4ada at yahoo dot com
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-61202-4-6ztvw5k5r3@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).