|
|
|
|
|
by cfallin
2333 days ago
|
|
Yeah, this should be roughly the same overhead as an ADD: LEA rDest, [rBase + 8*rPtr]
(The "load effective address" instruction computes an effective address like a load or store would, but just gives the address without doing a memory access.) |
|
[0] http://www.c-jump.com/CIS77/ASM/Addressing/lecture.html#R77_... [1] https://www.agner.org/optimize/instruction_tables.pdf (page 238)