On Thu, May 3, 2012 at 12:08 PM, Jakub Jelinek <ja...@redhat.com> wrote:
> During testing with older gas I've noticed failures, where 0xf2 was a pasto > instead of the right 0xf3 for xrelease insn. > > Fixed thusly, regtested on x86_64-linux and i686-linux, ok for trunk? > > BTW, I wonder if dg-options shouldn't select -march=i686 for !lp64, > if somebody configures gcc to default to -march=i386, I guess xadd etc. > won't be emitted there. You can add -march=x86-64 unconditionally to these test. This arch is the placeholder for "some recent x86 processor" and works for -m32 and -m64. > 2012-05-03 Jakub Jelinek <ja...@redhat.com> > > * gcc.target/i386/hle-xadd-rel-1.c: Match .byte 0xf3 instead of > .byte 0xf2. > * gcc.target/i386/hle-sub-rel-1.c: Likewise. > * gcc.target/i386/hle-xchg-rel-1.c: Likewise. > * gcc.target/i386/hle-add-rel-1.c: Likewise. OK. Thanks, Uros.