Removing undefined behavior of bitshifts
s_lange
s_lange at ira.uka.de
Sat Jun 11 20:52:36 PDT 2011
Am 09.06.2011 09:08, schrieb Don:
> s_lange wrote:
>>
>> As of yet, there are only general-pupose integer rotate instructions
>> on x86 processors, and very few other CPUs and µCs actually implement
>> rotate instructions.
>
> Really? Itanium, PowerPC, ARM, 6502, Z80, PIC all have rotate
> instructions. I've never used a processor that didn't.
Sorry, my bad, I should have said that there are only a few RISC-like
processors that don't have rotate instructions: MIPS, SPARC...
Although you are right that many accumulator CPUs and µC do have rotate
instructions: 8051, 6502, Z80 and PIC
More information about the Digitalmars-d
mailing list