I'm getting a compile error of Error: operand type mismatch for 'movaps', and googling hasn't revealed a solution. movups and addps also give the same error.
Here's a relevant excerpt:
# load address into %eax movaps %eax, %mm0 For completeness, I'm compiling the .s file with -m32.
movaps, so it probably needs to bemovaps %eax, %xmm0?xdidn't seem to help.movapsinstructions of the formmovaps (%ecx,%eax,4), %xmm0- I'm not familiar with the syntax but I'm guessing that you may be missing a level of indirection on the first parameter.