I am writing an application in C in GCC (for Linux/Ubuntu) that uses the following inline assembly.
float a[4] = { 10, 20, 30, 40 };
float b[4] = { 0.1, 0.1, 0.1, 0.1 };
asm volatile("movups (%0), %%xmm0\n\t"
"mulps (%1), %%xmm0\n\t"
"movups %%xmm0, (%1)"
:: "r" (a), "r" (b));
Excuse typos in the above (I'm writing from memory). What is the equivalent inline assembler in Visual C++ 6.0 ? I have discovered that I need to port my code.