Artifact 21e4030132f1ed6fd6066dcb58475daac724a40e9b4437b649c59552e639b451:
- File
psl-1983/3-1/util/fast-vector.red
— part of check-in
[eb17ceb7f6]
at
2020-04-21 19:40:01
on branch master
— Add Reduce 3.0 to the historical section of the archive, and some more
files relating to version sof PSL from the early 1980s. Thanks are due to
Paul McJones and Nelson Beebe for these, as well as to all the original
authors.git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/historical@5328 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1344) [annotate] [blame] [check-ins using] [more...]
- File
psl-1983/util/fast-vector.red
— part of check-in
[eb17ceb7f6]
at
2020-04-21 19:40:01
on branch master
— Add Reduce 3.0 to the historical section of the archive, and some more
files relating to version sof PSL from the early 1980s. Thanks are due to
Paul McJones and Nelson Beebe for these, as well as to all the original
authors.git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/historical@5328 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1344) [annotate] [blame] [check-ins using]
% <PSL.UTIL>FAST-VECTOR.RED.1, 18-Mar-82 21:26:35, Edit by GRISS % Fast Vector operations imports '(Syslisp); % Uses syslisp macros CopyD('IGetV, 'GetV); CopyD('IPutV, 'PutV); CopyD('ISizeV, 'Size); Put('IGetV, 'Assign!-Op, 'IPutV); CopyD('IGetS, 'Indx); CopyD('IPutS, 'SetIndx); CopyD('ISizeS, 'Size); Put('IGetS, 'Assign!-Op, 'IPutS); if_system(VAX, DefList('((IGetV (lambda (V I) (VecItm (VecInf V) I))) (IPutV (lambda (V I X) (PutVecItm (VecInf V) I X))) (IGetS (lambda (S I) (StrByt (StrInf S) I))) (IPutS (lambda (S I X) (PutStrByt (StrInf S) I X))) (ISizeV (lambda (V) (VecLen (VecInf V)))) (ISizeS (lambda (V) (StrLen (StrInf V))))), 'CMacro)); if_system(PDP10, % tags don't need to be stripped on the PDP10 DefList('((IGetV (lambda (V I) (VecItm V I))) (IPutV (lambda (V I X) (PutVecItm V I X))) (IGetS (lambda (S I) (StrByt S I))) (IPutS (lambda (S I X) (PutStrByt S I X))) (ISizeV (lambda (V) (VecLen V))) (ISizeS (lambda (S) (StrLen S)))), 'CMacro)); if_system(MC68000, % tags don't need to be stripped on the 68000 DefList('((IGetV (lambda (V I) (VecItm V I))) (IPutV (lambda (V I X) (PutVecItm V I X))) (IGetS (lambda (S I) (StrByt S I))) (IPutS (lambda (S I X) (PutStrByt S I X))) (ISizeV (lambda (V) (VecLen V))) (ISizeS (lambda (S) (StrLen S)))), 'CMacro)); END;