Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

_mm256_broadcastsd_pd

Takes the low packed double-precision floating-point data element from the source operand and broadcast to all elements of the result vector. The corresponding Intel® AVX2 instruction is VBROADCASTSD.

Syntax

extern __m256d _mm256_broadcastsd_pd(__m128d val);

Arguments

val

__m128 vector containing the 64-bit element to be broadcasted

Description

Takes the low packed double-precision floating-point (float64) data element from the source operand and broadcasts it to all elements of the result vector. The source operand is __m128d; only the low 64 bits of this operand are broadcasted.

The 128-bit version of this intrinsics is _mm_broadcastsd_pd. The intrinsic's syntax is extern __m128d _mm_broadcastsd_pd(__m128d val); This intrinsic is an alias for _mm_movedup_pd() intrinsic. Please, see Double-precision Floating-point Vector Intrinsics for details.

Returns

Return result of the broadcast operation.