From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15757 invoked by alias); 1 Jun 2007 06:42:18 -0000 Received: (qmail 15729 invoked by uid 48); 1 Jun 2007 06:42:09 -0000 Date: Fri, 01 Jun 2007 06:42:00 -0000 Message-ID: <20070601064209.15728.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/26449] [4.2/4.3 Regression] ICE in loop invariant motion 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-06/txt/msg00010.txt.bz2 ------- Comment #11 from ubizjak at gmail dot com 2007-06-01 06:42 ------- New test (from PR32123): 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=26449