Simple question. I doubt this will receive much attention, but how do I do 3 or 4 parameter operations in x86-64 assembly in AT&T (gAS) syntax? It's known to any x86 programmer using gAS that the arguments are switched, for example:
xor eax, ebx ; Intel (xASM)
xorl %ebx, %eax ; AT&T (gAS)
But how would I do, say:
blendpd xmm0, xmm1, 5
What I mean is, how are the instructions written? I get that there would be %xmm0
and such (still prefixes on parameters), but how are they ordered and what suffix do I add at the end of the instruction (the l
in movl
for 32-bit)?