1.0.41.14: ppc: Treat counter register as an interior pointer during GC.
[sbcl.git] / src / assembly / x86-64 / support.lisp
index 5e10c88..fb18d8a 100644 (file)
@@ -24,7 +24,7 @@
               (make-ea :qword :disp (make-fixup ',name :assembly-routine)))
         (inst call temp-reg-tn)
         (note-this-location ,vop :single-value-return)
-        (move rsp-tn rbx-tn))
+        (inst cmov :c rsp-tn rbx-tn))
       '((:save-p :compute-only))))
     (:none
      (values
@@ -38,9 +38,6 @@
     (:raw
      `(inst ret))
     (:full-call
-     `(
-       (inst pop rax-tn)
-
-       (inst add rax-tn 3)
-       (inst jmp rax-tn)))
+     `((inst clc)
+       (inst ret)))
     (:none)))