This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: x86-64 -mcx16, picky __sync_val_compare_and_swap?
On Tue, Apr 03, 2007 at 01:54:16AM +0200, tbp wrote:
> >> Am i just wrong believing that ought to work?
> >
> >Yes.
> It's hard to argue with a terse compiler or maintainer. Perhaps i
> should have picked an easier target like
> http://gcc.gnu.org/onlinedocs/gcc/Atomic-Builtins.html: "GCC will
> allow any integral scalar or pointer type that is 1, 2, 4 or 8 bytes
> in length" of which that TItype from the testsuite testcase is not.
But __m128{,i,d} is a vector type, and it doesn't apply.
r~