Re: Undocumented primitives

Bernd Paysan <[email protected]> Mon, 26 Jul 2021 00:35:17 +0200
Newsgroups gmane.comp.lang.forth.gforth
Message-ID <3467218.ahkNtjiPKj@liubei>
Am Sonntag, 25. Juli 2021, 11:38:36 CEST schrieb [email protected]:
> On 2021-07-25 08:00, David Kuehling wrote:
> [..]
> 
> > ror / rol / dror / drol / arshift / darshift / mux / select / inc# /
> > 'cell/' / cell- / fourth / third
> 
> You may want 16/32/64 variants for the first 6 (mainly for porting
> old code found on CLF or in papers).

For rol/ror, I understand why that is a good idea, but drol is double cell, 
and the shifts should make no difference.  I.e. if you have code like

sw@ xx arshift .. w!

this is just doing the right thing, regardless of cell size.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o id: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ*
https://net2o.de/
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEERJ1NDqPQRwYnwBjr9y2Uk5MtoGcFAmD95yUACgkQ9y2Uk5Mt
oGdhgg//cgbF7Sg8Z5hqZsNOQtDsGCdIFHQnzdOSGqK5qmv8yrguF+2C/y10q5hk
i7C9oQsYWbVJcscLyv/wmuNpYO1ww/3m7zSRG+LSpR0JCh2p/DzAKp6oWPN/oXOj
oKs6YGomufP5QCv1SOZ2246W28B4lZV9N80bWAl6n196yOHCUfOrWui6QnR1u7sE
ugXpgT1Ni/tMCQFvCvVrBDJBvguzLc/9/dpx4lnVxEQDYi87Q11D59T9j88jrOid
I310eYV0wbOYTCeWSvJLOkGBrLkAGqpxI5F0W1kDovHj6FV+O897gK4BWqz0yKYY
mwdkKgyYidwn38sX2OUN8tll6iRHm281uMo86xyTg5dJX6RhcwuGXythb3iObKUP
GbOlIYVdj+eUlx00WmYqHtUFh0LqGc04Kef0/QU4aUICgg+ae+ZIyy/6XpHRVSI/
wLNud7z+nVR0Ai/YUJwjW/4RP73H/6sr3dUyb4GyPKUKMih9lkiiXLkYpyjDWdBF
X3u4qqNewlvHl/wfMUQjXPgwN5veg3Mmf3ka5jSpwW6HBQOar6KuUzULwwpEfIOo
lzEqNWRn3+uG9eJYIrtKq3LpGotuAJf1mmngaRbNTn39auFM2/oJaO+Wo1qJX7r8
vfZjvoWOWU6X6RLhl3nCLIpX4OhCd6ihHC4vWQReMDvxHxmgp4I=
=/zJn
-----END PGP SIGNATURE-----