Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Message-ID: <20030124214426.68083.qmail@web21414.mail.yahoo.com> Date: Sat, 25 Jan 2003 08:44:26 +1100 (EST) From: =?iso-8859-1?q?Danny=20Smith?= Subject: i386 and InterlockedIncrement inline asm To: cygwin-developers AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello, In cygwin/winbase.h, the InterlockedIncrement and InterlockedDecrement inline replacement functions use the 'xadd' instruction. This insn is available on i486 and upwards, but not on i386. I belive the same applies to cmpxchg (Pentium has CMPXCHG, i486 has CMPXCHG486) Although I haven't find any bug reports about running cygwin exes on i386 (nor do I know of anyone with an i386 box to test), it could be a problem. Has this potential problem been acknowledged anywhere? Danny http://movies.yahoo.com.au - Yahoo! Movies - What's on at your local cinema?