This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin 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]

i386 and InterlockedIncrement inline asm


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?


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