From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24340 invoked by alias); 28 May 2007 08:35:11 -0000 Received: (qmail 24174 invoked by uid 48); 28 May 2007 08:35:00 -0000 Date: Mon, 28 May 2007 08:35:00 -0000 Message-ID: <20070528083500.24173.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/32123] gcc.target/i386/sse2-vec-6.c fails for -mtune=k8 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ubizjak at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg02477.txt.bz2 ------- 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