- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!!! :)
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!!! :)
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page