mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
Move some interpreter stubs
This commit is contained in:
parent
c05f7215be
commit
5163c8216a
|
|
@ -408,12 +408,3 @@ EXPERIMENTAL: Interface subject to change."
|
|||
sb-vm:n-word-bits most-positive-word
|
||||
sb-xc:most-negative-fixnum sb-xc:most-positive-fixnum)
|
||||
(expand-atomic-frob 'atomic-decf place diff env))
|
||||
|
||||
;; Interpreter stubs for ATOMIC-INCF.
|
||||
#!+(and compare-and-swap-vops (host-feature sb-xc))
|
||||
(progn
|
||||
;; argument types are declared in vm-fndb
|
||||
(defun %array-atomic-incf/word (array index diff)
|
||||
(%array-atomic-incf/word array index diff))
|
||||
(defun %raw-instance-atomic-incf/word (instance index diff)
|
||||
(%raw-instance-atomic-incf/word instance index diff)))
|
||||
|
|
|
|||
|
|
@ -104,6 +104,10 @@
|
|||
(def %funcallable-instance-info (fin i))
|
||||
(def %set-funcallable-instance-info (fin i new-value))
|
||||
|
||||
#+compare-and-swap-vops
|
||||
(def* (%array-atomic-incf/word (array index diff))
|
||||
(%raw-instance-atomic-incf/word (instance index diff)))
|
||||
|
||||
#+sb-simd-pack
|
||||
(def* (%make-simd-pack (tag low high))
|
||||
(%make-simd-pack-single (x y z w))
|
||||
|
|
|
|||
Loading…
Reference in a new issue