DragonFly BSD
DragonFly commits List (threaded) for 2009-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: atomic - fix inline assembly


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Nov 2009 12:52:02 -0800 (PST)

commit caae4d604234d17dff3080f60624a583965c2cf4
Author: Alex Hornung <ahornung@gmail.com>
Date:   Wed Nov 18 19:54:13 2009 +0000

    atomic - fix inline assembly
    
    * Mark eax as early clobber in atomic_intr_cond_try. This solves a
      longstanding and previously conditionalized issue with clang.
      Marking it as early clobber avoids it being used as a register
      elsewhere, apart from explicit uses.
      GCC behaviour is not affected.
    
    Suggested-by: Dale Johannesen <dalej@apple.com>

Summary of changes:
 sys/cpu/i386/include/atomic.h   |    6 +-----
 sys/cpu/x86_64/include/atomic.h |    6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/caae4d604234d17dff3080f60624a583965c2cf4


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]