Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

Problem with SSE2 code

ijjys
Beginner
346 Views
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