In my assembly program, I use sse instruction in computing .
I need to extract 4 single float value in xmm seperately, to do later computing.
I write like that
extractps $3, %xmm0,%xmm0
compiler as reported error:Error: suffix or operands invalid for `extractps'
I look up volumen 2 manual ,find I am wrong .
EXTRACTPS reg/m32, xmm2, imm8
the destnation should be a register of 64bit or 32bit.
But 64bit or 32bit registers are all for integers , like rax,eax.
How can I do float computing later if I put the result in integer registers ?