英文:
How to load 128bit data to ymm register in assembly?
问题
我想将128位数据加载到ymm寄存器中。
我需要在ymm寄存器中获得像这样的256位数据。
0000000000000000-0000000000000000-08AE038400570064-0005000A1E810BB8
所以我尝试了以下操作:
vmovdqa ymm0, xmmword ptr[eax]
但我遇到了构建错误。
我该如何处理?
谢谢。
英文:
I want to load 128bit data to ymm register.<br/>
I need 256bit data like this in ymm register.<br/>
0000000000000000-0000000000000000-08AE038400570064-0005000A1E810BB8
So I did like below;
vmovdqa ymm0, xmmword ptr[eax]
But I got build error.
How can I do this?<br/>
Thank you.
答案1
得分: 1
I did resolve like this;
vmovdqa xmm0, xmmword ptr[eax]
So if I debug, I could see xmm, ymm registers like this.
XMM0 = 0457FCEF00EAFC74-62CC03110038001E
... ...
YMM0 = 0000000000000000-0000000000000000-0457FCEF00EAFC74-62CC03110038001E
So, this is what I want.
Thanks for your helps.
英文:
I did resolve like this;
vmovdqa xmm0, xmmword ptr[eax]
So if I debug, I could see xmm,ymm registers like this.
XMM0 = 0457FCEF00EAFC74-62CC03110038001E
... ...
YMM0 = 0000000000000000-0000000000000000-0457FCEF00EAFC74-62CC03110038001E
So, this is that I want.
Thanks for your helps.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论