projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
348d1ba
)
Apply a recent optimization more widely.
author
Stas Boukarev
<stassats@gmail.com>
Mon, 19 Aug 2013 16:56:22 +0000
(20:56 +0400)
committer
Stas Boukarev
<stassats@gmail.com>
Mon, 19 Aug 2013 16:56:22 +0000
(20:56 +0400)
FOREIGN-SYMBOL-SAP was missing changing
LEA REG, [#xADDRESS]
to
MOV REG, #xADDRESS
src/compiler/x86-64/c-call.lisp
patch
|
blob
|
history
diff --git
a/src/compiler/x86-64/c-call.lisp
b/src/compiler/x86-64/c-call.lisp
index
ede3845
..
192de22
100644
(file)
--- a/
src/compiler/x86-64/c-call.lisp
+++ b/
src/compiler/x86-64/c-call.lisp
@@
-243,7
+243,7
@@
(:results (res :scs (sap-reg)))
(:result-types system-area-pointer)
(:generator 2
- (inst lea res (make-fixup foreign-symbol :foreign))))
+ (inst mov res (make-fixup foreign-symbol :foreign))))
#!+linkage-table
(define-vop (foreign-symbol-dataref-sap)