Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ROR/ROL

Name: Anonymous 2014-09-21 17:02

C/C++ doesn't have them.

Name: Anonymous 2014-09-21 17:18

Ruby on Lenses

Name: Anonymous 2014-09-21 18:47

It is great success!

Name: Anonymous 2014-09-23 18:44

Name: Anonymous 2014-09-23 19:08

Modern compilers generate them, though:
http://en.wikipedia.org/wiki/Circular_shift#Implementing_circular_shifts
GCC outputs something like this for the ROR on the wiki page:
movl 4(%esp), %eax
movl 8(%esp), %ecx
rorl %cl, %eax
ret

Name: Anonymous 2014-09-24 2:49

They are useful as an optimization for:
1. circular buffers/patterns.
2. extract sign + parity bits as in single 2-bit value.

Name: Anonymous 2014-09-24 17:07

Roal

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List