是将值移动到 xmm 寄存器的唯一方法,首先将值移动到整数寄存器中,不知道它们叫什么,然后进入 xmm 寄存器,例如
mov [eax], (float)1000 ; store to memory
movss xmm1,[eax] ; reload
Run Code Online (Sandbox Code Playgroud)
或者
mov eax, 1000 ; move-immediate integer
cvtsi2ss xmm1,eax ; and convert
Run Code Online (Sandbox Code Playgroud)
还是有另一种方法?有没有直接移动的值划分为XMM寄存器,沿东西线的方式:movss xmm1,(float)1000?