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

  http://www.intel.com/Assets/PDF/manual/248966.pdf

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

  http://www.agner.org/optimize/

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.

--Mike