projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Micro-optimize machine code for some register tests on x86[-64].
[sbcl.git]
/
src
/
compiler
/
alpha
/
alloc.lisp
diff --git
a/src/compiler/alpha/alloc.lisp
b/src/compiler/alpha/alloc.lisp
index
92a4eb7
..
96621a3
100644
(file)
--- a/
src/compiler/alpha/alloc.lisp
+++ b/
src/compiler/alpha/alloc.lisp
@@
-12,11
+12,6
@@
(in-package "SB!VM")
\f
;;;; LIST and LIST*
(in-package "SB!VM")
\f
;;;; LIST and LIST*
-(defoptimizer (list stack-allocate-result) ((&rest args))
- (not (null args)))
-(defoptimizer (list* stack-allocate-result) ((&rest args))
- (not (null (rest args))))
-
(define-vop (list-or-list*)
(:args (things :more t))
(:temporary (:scs (descriptor-reg) :type list) ptr)
(define-vop (list-or-list*)
(:args (things :more t))
(:temporary (:scs (descriptor-reg) :type list) ptr)
@@
-140,8
+135,8
@@
(inst lda csp-tn alloc-size csp-tn))
(t
(inst bis alloc-tn fun-pointer-lowtag result)))
(inst lda csp-tn alloc-size csp-tn))
(t
(inst bis alloc-tn fun-pointer-lowtag result)))
- (storew temp result 0 fun-pointer-lowtag))
- (storew function result closure-fun-slot fun-pointer-lowtag))))
+ (storew temp result 0 fun-pointer-lowtag)
+ (storew function result closure-fun-slot fun-pointer-lowtag)))))
;;; The compiler likes to be able to directly make value cells.
(define-vop (make-value-cell)
;;; The compiler likes to be able to directly make value cells.
(define-vop (make-value-cell)
@@
-171,8
+166,8
@@
(define-vop (fixed-alloc)
(:args)
(define-vop (fixed-alloc)
(:args)
- (:info name words type lowtag)
- (:ignore name)
+ (:info name words type lowtag stack-allocate-p)
+ (:ignore name stack-allocate-p)
(:results (result :scs (descriptor-reg)))
(:temporary (:scs (non-descriptor-reg)) temp)
(:generator 4
(:results (result :scs (descriptor-reg)))
(:temporary (:scs (non-descriptor-reg)) temp)
(:generator 4