Re: [Qemu-devel] Bug in helper_pcmpestrm and helper_pcmpistrm

2011-09-29 Thread Blue Swirl
On Thu, Sep 29, 2011 at 8:12 AM, Frank Mehnert wrote: > Hi, > > the two functions helper_pcmpestrm() and helper_pcmpistrm() in > target-i386/ops_sse.h contain obviously typos. I think that at > all 4 marked places should increment the index 'i', not decrement > it during the loop: > > > void glue(

[Qemu-devel] Bug in helper_pcmpestrm and helper_pcmpistrm

2011-09-29 Thread Frank Mehnert
Hi, the two functions helper_pcmpestrm() and helper_pcmpistrm() in target-i386/ops_sse.h contain obviously typos. I think that at all 4 marked places should increment the index 'i', not decrement it during the loop: void glue(helper_pcmpestrm, SUFFIX) (Reg *d, Reg *s, uint32_t ctrl) { int i;