Carl Shapiro pushed to branch master at cmucl / cmucl
Commits:
-
ef48eb2a
by Carl Shapiro at 2025-02-18T22:46:55-08:00
1 changed file:
Changes:
... | ... | @@ -244,9 +244,10 @@ for SAPs when possible, so the consing overhead is generally minimal. |
244 | 244 | |
245 | 245 | \begin{defun}{system:}{sap-ref-8}{\args{\var{sap} \var{offset}}}
|
246 | 246 | \defunx[system:]{sap-ref-16}{\args{\var{sap} \var{offset}}}
|
247 | - \defunx[system:]{sap-ref-32}{\args{\var{sap} \var{offset}}}
|
|
248 | -
|
|
249 | - These functions return the 8, 16 or 32 bit unsigned integer at
|
|
247 | + \defunx[system:]{sap-ref-32}{\args{\var{sap} \var{offset}}
|
|
248 | + \defunx[system:]{sap-ref-64}{\args{\var{sap} \var{offset}}}
|
|
249 | + |
|
250 | + These functions return the 8, 16, 32 or 64 bit unsigned integer at
|
|
250 | 251 | \var{offset} from \var{sap}. The \var{offset} is always a byte
|
251 | 252 | offset, regardless of the number of bits accessed. \code{setf} may
|
252 | 253 | be used with the these functions to deposit values into virtual
|
... | ... | @@ -256,7 +257,8 @@ for SAPs when possible, so the consing overhead is generally minimal. |
256 | 257 | \begin{defun}{system:}{signed-sap-ref-8}{\args{\var{sap} \var{offset}}}
|
257 | 258 | \defunx[system:]{signed-sap-ref-16}{\args{\var{sap} \var{offset}}}
|
258 | 259 | \defunx[system:]{signed-sap-ref-32}{\args{\var{sap} \var{offset}}}
|
259 | -
|
|
260 | + \defunx[system:]{signed-sap-ref-64}{\args{\var{sap} \var{offset}}}
|
|
261 | + |
|
260 | 262 | These functions are the same as the above unsigned operations,
|
261 | 263 | except that they sign-extend, returning a negative number if the
|
262 | 264 | high bit is set.
|