From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1QYu-0004ev-Pp for qemu-devel@nongnu.org; Sat, 15 Nov 2008 14:12:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1QYt-0004ei-D0 for qemu-devel@nongnu.org; Sat, 15 Nov 2008 14:12:04 -0500 Received: from [199.232.76.173] (port=49337 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1QYt-0004ef-5P for qemu-devel@nongnu.org; Sat, 15 Nov 2008 14:12:03 -0500 Received: from fe01x03-cgp.akado.ru ([77.232.31.164]:58838 helo=akado.ru) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L1QYs-0006qD-Tg for qemu-devel@nongnu.org; Sat, 15 Nov 2008 14:12:03 -0500 Date: Sat, 15 Nov 2008 22:11:45 +0300 (MSK) From: malc Subject: Re: [Qemu-devel] x86 MMX register access problem seen on Sparc host In-Reply-To: <20081115110225.GA8325@hall.aurel32.net> Message-ID: References: <20081001123858.GA20525@volta.aurel32.net> <20081115110225.GA8325@hall.aurel32.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: qemu-devel@nongnu.org On Sat, 15 Nov 2008, Aurelien Jarno wrote: > On Wed, Oct 01, 2008 at 09:26:18PM +0400, malc wrote: >> On Wed, 1 Oct 2008, Aurelien Jarno wrote: >> >>> On Mon, Sep 22, 2008 at 01:44:55AM +0400, malc wrote: >>>> On Mon, 22 Sep 2008, malc wrote: >>>> >>>>> On Sun, 21 Sep 2008, Blue Swirl wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I get these warnings when compiling i386 targets on Sparc host using a >>>>>> gcc 4.3 series compiler: >>>>>> /src/qemu/target-i386/ops_sse.h: In function 'helper_pmovmskb_mmx': >>>>>> /src/qemu/target-i386/ops_sse.h:982: warning: array subscript is above >>>>>> array bounds >>>>>> etc. >>>>>> >>>>>> The first line is the following: >>>>>> val |= (s->XMM_B(0) >> 7); >>>>> >>>>> All the lines before #if SHIFT == 1 should be MMX_B really. >>>> >>>> Scratch that. It should be this instead: >>> >>> Acked-By: >>> >>> Care to commit the patch? >> >> Fabrice was CCed, but i haven't heard his opinion. >> > > Any news on that? I think the patch could be committed in any case. > Otherwise we will forget it. I can commit it if you prefer. Yes, i think so too, go ahead. -- mailto:av1474@comtv.ru