请输入您要查询的百科知识:

 

词条 MOVDDUP
释义

  1. Usage

  2. Potential exceptions

  3. References

  4. See also

In the x86 assembly programming language, MOVDDUP is the name for a specific action performable by modern x86 processors with 3rd-generation Streaming SIMD Extensions (SSE3). This action involves copying a number to temporary space in the processor for use in other computations.

Specifically, MOVDDUP causes one, double-precision, floating-point source to be copied to both the lower half and upper half of an XMM register.

Usage

OpcodeF2 0F 12 /r
Assembly (Intel syntax) MOVDDUP xmm1, xmm2/m64
Assembly (AT&T syntax) MOVDDUP xmm2/m64, xmm1
icc intrinsic equivalent(s) __m128d _mm_movedup_pd(__m128d a)
__m128d _mm_load_pd1(const double * mem_addr)
gcc built-in(s) v2df __builtin_ia32_movddup(v2df)

The source operand can be either an XMM register (xmm2) or a memory address (m64). When the source operand is an XMM register, the lower half of the register is used in the operation. When the source operand is a memory address, it is assumed to be the address of an 8-byte region, the value at which is used in the operation.

The destination operand must be an XMM register (xmm1).

Potential exceptions

{{Empty section|date=July 2010}}

References

  • gcc info page.
  • Intel 64 and IA-32 Architectures Software Developer's Manual Volume 2A: Instruction Set Reference, A-M, November, 2006.
  • https://software.intel.com/sites/landingpage/IntrinsicsGuide/

See also

  • MOVAPS/MOVAPD
  • MOVHLPS
  • MOVHPS/MOVHPD
  • MOVLHPS
  • MOVLPS/MOVLPD
  • MOVMSKPS/MOVMSKPD
  • MOVNTPS
  • MOVSHDUP
  • MOVSLDUP
  • MOVSS/MOVSD
  • MOVUPS/MOVUPD
x86 instruction listings

1 : X86 instructions

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/20 10:31:35