From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16308 invoked by alias); 17 Oct 2008 06:37:04 -0000 Received: (qmail 16134 invoked by uid 48); 17 Oct 2008 06:35:45 -0000 Date: Fri, 17 Oct 2008 06:37:00 -0000 Message-ID: <20081017063545.16133.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/37809] [4.2/4.3/4.4 Regression] Incorrect code with MMX right shift __builtin_ia32_psradi 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: 2008-10/txt/msg01136.txt.bz2 ------- Comment #5 from ubizjak at gmail dot com 2008-10-17 06:35 ------- (In reply to comment #4) > Digging a bit, in combine.c, the ASHIFTRT case of force_to_mode() contains two > calls to simplify_shift_const(). Disabling those for vector modes fixes the > test case here (patch below). Can you please post the patch with correct ChangeLog to gcc-patches mailing list? Also, the discussion about patch should start in gcc-patches ML. -- ubizjak at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ubizjak at gmail dot com |unassigned at gcc dot gnu | |dot org Status|ASSIGNED |NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37809