movsd (%rdx,%rsi,8), %xmm0 ## xmm0 = mem[0],zero
What does this line do? Especially (%rdx,%rsi,8)?
(x86-64 architecture computer)
I produced an Assembly file from a C code that does matrix multiplication, involving 3 loops. I found bunch of manuals but nothing really has a reliable information, even the "official" looking ones.
My Mac OS X is producing this in GAS syntax, so mov instruction of its variations are in order of:
mov source dest
But no one explains what happens when something like
(%rdx,%rsi,8) suddenly joins the party.
Please help me learn more about this. Thank you.
Below link, slide 7 is the most related information I could find (but it probably is in Intel syntax which has source and dest flipped) https://www.bowdoin.edu/~sbarker/teaching/courses/spring16/its/lectures/lec15.pdf