This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gomp] i386 cmpxchg8b and x86_64 cmpxchg16b support


On Tue, Oct 11, 2005 at 03:22:49AM +0200, Andi Kleen wrote:
> 16 byte CMPXCHG16 is legal in 32bit code so I would have expected
> -march=nocona to emit it there too. If not it should.

Um, how?  It gets the old and new values from dx:ax and bx:cx.
There's only 8 bytes in these paris in 32-bit code.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]