qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] x86 MMX register access problem seen on Sparc host


From: Blue Swirl
Subject: [Qemu-devel] x86 MMX register access problem seen on Sparc host
Date: Sun, 21 Sep 2008 11:20:00 +0300

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);

In cpu.h, the macro is defined on big endian host as
#define XMM_B(n) _b[15 - (n)]

But the type of Reg argument is MMXReg for pmovmskb_mmx and then the
_b array has only 8 items.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]