Re: [PATCH] Fix some hle* tests

2012-05-03 Thread Uros Bizjak
On Thu, May 3, 2012 at 12:17 PM, Uros Bizjak wrote: >> 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 i

Re: [PATCH] Fix some hle* tests

2012-05-03 Thread Uros Bizjak
On Thu, May 3, 2012 at 12:08 PM, Jakub Jelinek 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 se

[PATCH] Fix some hle* tests

2012-05-03 Thread Jakub Jelinek
Hi! 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 def