Changeset 405


Ignore:
Timestamp:
Jan 25, 2004, 2:16:07 PM (21 years ago)
Author:
Gary Byers
Message:

WITH-STACK-SHORT-FLOATS is PPC32-specific.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lib/number-macros.lisp

    r83 r405  
    7171
    7272(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 init
    84             (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))
    9273
    9374
Note: See TracChangeset for help on using the changeset viewer.