# MOVAPS
# Move Aligned Packed Single-Precision Floating-Point Values
Opcode | Mnemonic | Description |
---|---|---|
0F 28 /r | MOVAPS xmm1, xmm2/m128 | Move packed single-precision floating-point values from xmm2/m128 to xmm1. |
0F 29 /r | MOVAPS xmm2/m128, xmm1 | Move packed single-precision floating-point values from xmm1 to xmm2/m128. |
# Description
Moves a double quadword containing four packed single-precision floating-point values from the source operand (second operand) to the destination operand (first operand). This instruction can be used to load an XMM register from a 128-bit memory location, to store the contents of an XMM register into a 128-bit memory location, or to move data between two XMM registers.
When the source or destination operand is a memory operand, the operand must be aligned on a 16-byte boundary or a general-protection exception (#GP) is generated.
To move packed single-precision floating-point values to or from unaligned memory locations, use the MOVUPS instruction.
# Operation
Destination = Source;
//#GP if Source or Destination unaligned memory operand
1
2
3
2
3
# SIMD Floating-Point Exceptions
None.
# Protected Mode Exceptions
# Real-Address Mode Exceptions
# Virtual-8086 Mode Exceptions
Same exceptions as in Real Address Mode
#PF(fault-code) | For a page fault. |
Instruction | Latency | Throughput | Execution Unit |
---|---|---|---|
CPUID | 0F3n/0F2n | 0F3n/0F2n | 0F2n |
MOVAPS xmm, xmm | 6/6 | 1/1 | FP_MOVE |