flat assembler
Message board for the users of flat assembler.

Index > Main > Move from YMM to EAX

Author
Thread Post new topic Reply to topic
Andy



Joined: 17 Oct 2011
Posts: 55
Andy 14 Nov 2023, 20:28
Is there any instruction to move directly the last 4 bytes from a YMM register to EAX? As far as I know VMASKMOVPS can be used to move from YMM to memory and from there I might be able to move the data to EAX but I am looking for a better approach, if there is one.
Post 14 Nov 2023, 20:28
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8344
Location: Kraków, Poland
Tomasz Grysztar 14 Nov 2023, 20:46
Is VPEXTRD what you're looking for?
Post 14 Nov 2023, 20:46
View user's profile Send private message Visit poster's website Reply with quote
Andy



Joined: 17 Oct 2011
Posts: 55
Andy 14 Nov 2023, 21:38
Yes, this would work. Thank you.
Post 14 Nov 2023, 21:38
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.