Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ijjys
Beginner
57 Views

Problem with SSE2 code

Hi!

I have a problem with a SSE2 code, that I can`t resolve. The piece of code is this:


asm("movupd xmm1, [xp]");xp+=2;
asm("movupd xmm0 , [yp]");yp+=2;

asm("addpd xmm1, xmm0\n");

asm("movupd [yp], xmm1\n");


"yp" at this moment becomes null so I think this is "addpd"s fault because if "addpd" instruction is commented, yp keeps the reference.
Somebody knows about this? I`ve been with this for several hours and I can`t see it.

Thanks in advance!!! :)
0 Kudos
0 Replies
Reply