[PATCH, testsuite]: Enable sync_long_long on 32bit x86 and alpha

2011-11-25 Thread Uros Bizjak
Hello! Attached patch enables sync_long_long tests on 32bit x86 and alpha. Enabling the tests for alpha is obvious (it is 64bit-by-default target, after all), but 32bit x86 needs at least -march=pentium passed via dg-options. My previous patch checks bit_CMPXCHG8B cpuid bit before compiling these

Re: [PATCH, testsuite]: Enable sync_long_long on 32bit x86 and alpha

2011-11-25 Thread Uros Bizjak
On Fri, Nov 25, 2011 at 8:31 PM, Uros Bizjak wrote: > I didn't check SSE, but it looks that fild/fistpl combo isn't atomic > or does not obey "lock" barriers. Adding -msse to failing test works OK. Uros.