lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On 5/31/2015 8:12 AM, Paige DePol wrote:
Roberto Ierusalimschy wrote:
What sort of performance gains did you see from switching to the BCA
format, and which CPUs specifically had this issue, by the way?

8086 thru 80286 and at least 68000. 80386 or later have barrel shifters for single cycle shifts. Old 8-bit microcontrollers often shift by 1 bit per instruction. But anything 32/64-bit that is a modern arch would have plenty of silicon on 130nm (or better) fabs and should do N bits at a time.

Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia