lua-users home
lua-l archive

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

King, Mike wrote:
> > I should mention that LuaJIT has special tuning for Atom.
> Where did you get information on tuning for the Intel Atom CPU?

"Intel 64 and IA-32 Architectures Optimization Reference Manual"
Chapter 12: Intel Architecture and Software Optimization

"The microarchitecture of Intel, AMD and VIA CPUs: An optimization
guide for assembly programmers and compiler makers"
Chapter 9: Intel Atom pipeline

Rules for Atom summarized: don't use x87, don't use LEA to replace
ADD, do use LEA to adjust ESP, don't mix PUSH/POP and [ESP] access,
avoid multiplies, division is deadly.