From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5842 invoked by alias); 25 Feb 2010 15:07:04 -0000 Received: (qmail 5675 invoked by uid 48); 25 Feb 2010 15:06:50 -0000 Date: Thu, 25 Feb 2010 15:07:00 -0000 Message-ID: <20100225150650.5674.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/43175] __builtin_ia32_vec_perm_v4si doesn't work with AVX In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools 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: 2010-02/txt/msg02574.txt.bz2 ------- Comment #3 from hjl dot tools at gmail dot com 2010-02-25 15:06 ------- We expand D.3242_4 = __builtin_ia32_vec_perm_v4si (D.3241_3, D.3240_2, { 4, 1, 2, 3 }); into (insn 27 24 28 3 x.i:22 (set (subreg:V8HI (reg:V4SI 75) 0) (vec_merge:V8HI (subreg:V8HI (reg:V4SI 75) 0) (subreg:V8HI (reg:V4SI 75) 0) (const_int 3 [0x3]))) -1 (nil)) (insn 28 27 29 3 x.i:22 (set (reg:V4SI 60 [ D.3242 ]) (reg:V4SI 75)) -1 (nil)) But reg 75 is never set. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43175