1 ;;;; This software is part of the SBCL system. See the README file for
4 ;;;; This software is derived from the CMU CL system, which was
5 ;;;; written at Carnegie Mellon University and released into the
6 ;;;; public domain. The software is in the public domain and is
7 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
8 ;;;; files for more information.
12 (!def-vm-support-routine generate-call-sequence (name style vop)
16 `((inst lea temp-reg-tn
17 (make-ea :qword :disp (make-fixup ',name :assembly-routine)))
18 (inst call temp-reg-tn))
22 `((note-this-location ,vop :call-site)
24 (make-ea :qword :disp (make-fixup ',name :assembly-routine)))
25 (inst call temp-reg-tn)
26 (note-this-location ,vop :single-value-return)
27 (inst cmov :c rsp-tn rbx-tn))
28 '((:save-p :compute-only))))
31 `((inst lea temp-reg-tn
32 (make-ea :qword :disp (make-fixup ',name :assembly-routine)))
33 (inst jmp temp-reg-tn))
36 (!def-vm-support-routine generate-return-sequence (style)