Basic c++ code to SSE ... issue

  • Thread starter Thread starter jiiteepee
  • Start date Start date
J

jiiteepee

Guest
I have few lines of code giving headache when trying to port to SIMD coding:

n -= (a < 0);
n += 1023;
u.s[3] = (unsigned short)((n << 4) & 0x7FF0);

where


ieee754 u;


and


__m128i n;

__m128d a;



I could leave those working as above but would like to port if possible.

Any help is appreciated.

Continue reading...
 
Back
Top