MOVSS--Move Scalar Single--Precision Floating-Point Values

Opcode

Instruction

Description

F3 0F 10 /r

MOVSS xmm1, xmm2/m32

Move scalar single-precision floating-point value from xmm2/m64 to xmm1 register.

F3 0F 11 /r

MOVSS xmm2/m32, xmm

Move scalar single-precision floating-point value from xmm1 register to xmm2/m64.

Description

Moves a scalar single-precision floating-point value from the source operand (second operand) to the destination operand (first operand). The source and destination operands can be XMM registers or 32-bit memory locations. This instruction can be used to move a single-precision floating-point value to and from the low doubleword of an XMM register and a 32-bit memory location, or to move a single-precision floating-point value between the low doublewords of two XMM registers. The instruction cannot be used to transfer data between memory locations.

When the source and destination operands are XMM registers, the high-order 96 bits of the destination operand remain unchanged. When the source operand is a memory location and destination operand is an XMM registers, the high-order 96 bits of the destination operand are cleared to all 0s.

Operation

MOVSS instruction when source and destination operands are XMM registers:
DEST[31-0] SRC[31-0];
* DEST[127-32] remains unchanged *;
MOVSS instruction when source operand is XMM register and destination
operand is memory location:
DEST SRC[31-0];
MOVSS instruction when source operand is memory location and destination
operand is XMM register:
DEST[31-0] SRC;
DEST[127-32] 000000000000000000000000H;

Intel(R) C++ Compiler Intrinsic Equivalent

MOVSS __m128 _mm_load_ss(float * p) MOVSS void_mm_store_ss(float * p, __m128 a) MOVSS __m128 _mm_move_ss(__m128 a, __m128 b)

SIMD Floating-Point Exceptions

None.

Protected Mode Exceptions

#GP(0) - For an illegal memory operand effective address in the CS, DS, ES, FS or GS segments.

#SS(0) - For an illegal address in the SS segment.

#PF(fault-code) - For a page fault.

#NM - If TS in CR0 is set.

#XM - If an unmasked SIMD floating-point exception and OSXMMEXCPT in CR4 is 1.

#UD - If an unmasked SIMD floating-point exception and OSXMMEXCPT in CR4 is 0. If EM in CR0 is set. If OSFXSR in CR4 is 0. If CPUID feature flag SSE is 0.

#AC - For unaligned memory reference if the current privilege level is 3.

Real-Address Mode Exceptions

Interrupt 13 - If any part of the operand lies outside the effective address space from 0 to 0FFFFH.

#NM - If TS in CR0 is set.

#XM - If an unmasked SIMD floating-point exception and OSXMMEXCPT in CR4 is 1.

#UD - If an unmasked SIMD floating-point exception and OSXMMEXCPT in CR4 is 0. If EM in CR0 is set. If OSFXSR in CR4 is 0. If CPUID feature flag SSE is 0.

Virtual-8086 Mode Exceptions

Same exceptions as in Real Address Mode.

#PF(fault-code) - For a page fault.

#AC - For unaligned memory reference if the current privilege level is 3.

 

 

 

 

 

 

 


For details, see Volume 2A and Volume 2B of the Intel(R) 64 and IA-32 Intel Architecture Software Developer's Manual. For the latest updates on the instruction set information, go to the web site.