3 ms·
It only (well, “only”) works for the stack, though?
by trasz 6y ago
It only (well, “only”) works for the stack, though?
- BeeOnRope 6y agoNo, I tried it with [rcx] as well and it works fine, i.e., no particular dependency on [rsp], at least in Zen2.
- BeeOnRope 6y agoAlthough I guess it depends what you mean by "stack". My test shows that it isn't tied specifically to [rsp], the register used to address the stack, but I suppose it could still be tied to the region of memory the CPU heuristically determines is part of "the stack", regardless of what memory is used to access it.