New function: SB-EXT:SPIN-LOOP-HINT
authorPaul Khuong <pvk@pvk.ca>
Sun, 14 Aug 2011 22:31:52 +0000 (18:31 -0400)
committerPaul Khuong <pvk@pvk.ca>
Sun, 14 Aug 2011 22:31:52 +0000 (18:31 -0400)
commit77ae1e21c9418325b78e639a37634213b7222789
tree8d48d68bd5a08edf35aa62b7c44a9963b96c1467
parentb8348197b01379c0422f31bcc9d27861c875d7c9
New function: SB-EXT:SPIN-LOOP-HINT

 Some architectures have developed ways to help the processor execute
 spin loops efficiently; expose them, where applicable, via
 SB-EXT:SPIN-LOOP-HINT.

 Assembles to PAUSE on x86oids, and to nothing on other platforms.
12 files changed:
NEWS
package-data-list.lisp-expr
src/code/late-extensions.lisp
src/compiler/alpha/system.lisp
src/compiler/fndb.lisp
src/compiler/hppa/system.lisp
src/compiler/mips/system.lisp
src/compiler/ppc/system.lisp
src/compiler/sparc/system.lisp
src/compiler/x86-64/system.lisp
src/compiler/x86/insts.lisp
src/compiler/x86/system.lisp