3 ms·
No, I tried it with [rcx] as well and it works fine, i.e., no particular dependency on [rsp], at least in Zen2.
by BeeOnRope 6y ago
No, 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.