public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/32123] gcc.target/i386/sse2-vec-6.c fails for -mtune=k8 Date: Mon, 28 May 2007 08:35:00 -0000 [thread overview] Message-ID: <20070528083500.24173.qmail@sourceware.org> (raw) In-Reply-To: <bug-32123-1649@http.gcc.gnu.org/bugzilla/> ------- Comment #1 from ubizjak at gmail dot com 2007-05-28 08:35 ------- Standalone testcase, compile with -O2 -msse2 -mtune=k8: --cut here-- typedef short __v8hi __attribute__ ((__vector_size__ (16))); typedef long long __m128i __attribute__ ((__vector_size__ (16))); void sse2_test (void) { union { __m128i x; } val1, res[8], tmp; short ins[8] = { 8, 5, 9, 4, 2, 6, 1, 20 }; int i; for (i = 0; i < 8; i++) { tmp.x = val1.x; if (memcmp (&tmp, &res[i], sizeof (tmp))) (__m128i) __builtin_ia32_vec_set_v8hi ((__v8hi) val1.x, ins[i], 0); } } --cut here-- -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32123
next prev parent reply other threads:[~2007-05-28 8:35 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-05-28 7:48 [Bug rtl-optimization/32123] New: " ubizjak at gmail dot com 2007-05-28 8:35 ` ubizjak at gmail dot com [this message] 2007-06-01 6:42 ` [Bug rtl-optimization/32123] " ubizjak at gmail 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=20070528083500.24173.qmail@sourceware.org \ --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).