git: atomic - fix inline assembly
Alex Hornung
alexh at crater.dragonflybsd.org
Wed Nov 18 12:54:11 PST 2009
commit caae4d604234d17dff3080f60624a583965c2cf4
Author: Alex Hornung <ahornung at 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 at 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
More information about the Commits
mailing list