1.0.24.25: add volatile after asm in spinlock and swap_lispobjs
authorGabor Melis <mega@hotpop.com>
Fri, 9 Jan 2009 16:42:09 +0000 (16:42 +0000)
committerGabor Melis <mega@hotpop.com>
Fri, 9 Jan 2009 16:42:09 +0000 (16:42 +0000)
commit4d633465231c79adeb3e4e59bf30c011d1d0e9dd
tree431f4dfa8279fa5237da27f5cc656ac337bbbc9b
parentf7873f9a9edc6d39553106d0627b8ac270a1bfc4
1.0.24.25: add volatile after asm in spinlock and swap_lispobjs

... to prevent the compiler from optimizing away certain calls or
maybe reorder them. Test for swap_lispobj.
src/runtime/x86-64-arch.h
src/runtime/x86-arch.h
tests/swap-lispobjs.c [new file with mode: 0644]
tests/swap-lispobjs.impure.lisp [new file with mode: 0644]
version.lisp-expr