From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22767 invoked by alias); 22 Oct 2008 15:01:25 -0000 Received: (qmail 22758 invoked by uid 22791); 22 Oct 2008 15:01:24 -0000 X-Spam-Check-By: sourceware.org Received: from mail.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 22 Oct 2008 15:00:44 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id C64D242999; Wed, 22 Oct 2008 17:00:41 +0200 (CEST) From: Andreas Schwab To: Uros Bizjak Cc: Ralph Loader , GCC Patches Subject: Re: [PATCH] Fix for PR 37809 and 37807 References: <48FF3CA0.6030405@gmail.com> X-Yow: Was my SOY LOAF left out in th'RAIN? It tastes REAL GOOD!! Date: Wed, 22 Oct 2008 17:38:00 -0000 In-Reply-To: <48FF3CA0.6030405@gmail.com> (Uros Bizjak's message of "Wed, 22 Oct 2008 16:45:52 +0200") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-10/txt/msg00944.txt.bz2 Uros Bizjak writes: >> + >> + >> +void Sshift() >> +{ >> + volatile __m64 y = (__m64) 0xffffffffll; >> + __m64 x = y & (__m64) 0xffffffffll; >> + x = _m_psradi (x, 1); >> + x &= (__m64) 0x80000000ll; >> + if (0 == (long long) x) >> > > Aliasing violation on x variable. How is that an aliasing violation? There are no pointers involved. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."