MOV from YMM to RAX register with Intel x86-64 instructions

I want to copy a value from YMM to the RAX register, but I did not find the correct instruction for this. I want to do something like:

mov rax, ymm0

for example, for XMM I can do: movq rax, xmm0. I want something like this.

+2
source share
1 answer

Just use it vmovq rax,xmm0. There is no corresponding register instruction ymm, because the lower half of the register ymmis only the corresponding register xmm.

+5
source

All Articles