projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't stack-allocate specialized vectors on non-conservtive control stacks
[sbcl.git]
/
src
/
compiler
/
x86-64
/
system.lisp
diff --git
a/src/compiler/x86-64/system.lisp
b/src/compiler/x86-64/system.lisp
index
1edf735
..
7cb54a4
100644
(file)
--- a/
src/compiler/x86-64/system.lisp
+++ b/
src/compiler/x86-64/system.lisp
@@
-39,14
+39,14
@@
(inst cmp al-tn fun-pointer-lowtag)
(inst jmp :e FUNCTION-PTR)
(inst cmp al-tn fun-pointer-lowtag)
(inst jmp :e FUNCTION-PTR)
- ;; Pick off structures and list pointers.
- (inst test al-tn 1)
- (inst jmp :ne DONE)
-
;; Pick off fixnums.
;; Pick off fixnums.
- (inst and al-tn fixnum-tag-mask)
+ (inst test al-tn fixnum-tag-mask)
(inst jmp :e DONE)
(inst jmp :e DONE)
+ ;; Pick off structures and list pointers.
+ (inst test al-tn 2)
+ (inst jmp :ne DONE)
+
;; must be an other immediate
(inst mov rax object)
(inst jmp DONE)
;; must be an other immediate
(inst mov rax object)
(inst jmp DONE)
@@
-394,3
+394,9
@@
number of CPU cycles elapsed as secondary value. EXPERIMENTAL."
(:policy :fast-safe)
(:translate %data-dependency-barrier)
(:generator 3))
(:policy :fast-safe)
(:translate %data-dependency-barrier)
(:generator 3))
+
+(define-vop (pause)
+ (:translate spin-loop-hint)
+ (:policy :fast-safe)
+ (:generator 0
+ (inst pause)))