InvestorsHub Logo
Followers 0
Posts 297
Boards Moderated 0
Alias Born 04/26/2004

Re: fastpathguru post# 46772

Tuesday, 11/02/2004 11:59:00 AM

Tuesday, November 02, 2004 11:59:00 AM

Post# of 97871
AMD64 Optimization

Well I find that style of assembly difficult to read. I'm used to good old masm.

Like any assembler program there are areas where I think it can be improved. Its a really simple algorithm after all, at least the bit done in the assembler file. Looks to me that the speed up is by reducing the number of memory accesses by keeping variables in registers and processing 8 bytes at a times. There's just 18 instructions in the main loop.

There is no use of SSE or MMX regs in this, just the extended GP register set.

If the writer has benchmarked his code as he went along there's probably little micro-optimization to be done. There's no obvious attempt to align the loop on a code boundary - this is a mistake.
Volume:
Day Range:
Bid:
Ask:
Last Trade Time:
Total Trades:
  • 1D
  • 1M
  • 3M
  • 6M
  • 1Y
  • 5Y
Recent AMD News