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

_mm_broadcastq_epi64, _mm256_broadcastq_epi64

Take qwords from the source operand and broadcast to all elements of the result vector. The corresponding Intel® AVX2 instruction is VPBROADCASTQ.

Syntax

extern __m128i _mm_broadcastq_epi64(__m128i val);

extern __m256i _mm256_broadcastq_epi64(__m128i val);

Arguments

val

__m128i vector containing 64-bit element to be broadcasted

Description

Takes a qword integer in the low bits of the source operand and broadcasts to all elements of the result vector.

Returns

Returns result of the broadcast operation.