Is it possible to access to a single byte in a mmx register, like a array?
I’ve this code:
movq mm1,vector1
movq mm2,vector2
psubw mm1,mm2
I want to put mm1[1],mm1[2],mm1[3]….into c++ vars, like:
int a,b=0;
mov a,mm1[1]
mov b,mm1[2]
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, it is possible.
I can show the code for SSE2 for c++, but is similar for MMX :