This is a discussion on SSE2 Linux Compile - ASM x86 ASM 370 ; hi, I am using SSE2 instruction to speed up my process, I am using __m128i data-type in my c code. I compile the code and went back and saw the compiled code, for some reason the compiler is giving me ...
hi,
I am using SSE2 instruction to speed up my process, I am using __m128i data-type in my c code. I compile the code and went back and saw the compiled code, for some reason the compiler is giving me just the xmm0 and xmm1 but I need to get more register, while the gcc compiler maps one of the xmm register to stack and use it for the new variable.
for example
__m128i a,b,c = 0;
I want the compiler consider 3 different register xmm0, xmm1, xmm2 for the above code how I can do it, I can code pure assembly but I prefer not to do. Any idea?
Thanks in advance,