Re: Spinlock assembly clarification

From: Eric Dumazet
Date: Mon Jul 18 2011 - 02:41:59 EST


Le lundi 18 juillet 2011 Ã 09:30 +0400, Frank Coldwell a Ãcrit :

> So to understand this I look at intel manual for these instructions,
> and I could not find anything
> for instruction xaddw ??
>

Look for XADD

The W suffix means we operate on a 16bit word.

http://faydoc.tripod.com/cpu/xadd.htm


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/