Changeset 405
- Timestamp:
- Jan 25, 2004, 2:16:07 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lib/number-macros.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lib/number-macros.lisp
r83 r405 71 71 72 72 (setf (macro-function 'with-ppc-stack-double-floats) (macro-function 'with-stack-double-floats)) 73 74 (defmacro with-stack-short-floats (specs &body body)75 (collect ((binds)76 (inits)77 (names))78 (dolist (spec specs)79 (let ((name (first spec)))80 (binds `(,name (%alloc-misc ppc32::single-float.element-count ppc32::subtag-single-float)))81 (names name)82 (let ((init (second spec)))83 (when init84 (inits `(%short-float ,init ,name))))))85 `(let* ,(binds)86 (declare (dynamic-extent ,@(names))87 (short-float ,@(names)))88 ,@(inits)89 ,@body)))90 91 (setf (macro-function 'with-ppc-stack-short-floats) (macro-function 'with-stack-short-floats))92 73 93 74
Note:
See TracChangeset
for help on using the changeset viewer.
