Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

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

Document Table of Contents

<span class='option'>_mm256_set1_ps</span>

Initializes 256-bit vector with scalar single-precision floating point values. No corresponding Intel® AVX instruction.

Syntax

extern __m256 _mm256_set1_ps(float);

Arguments

float

a float32 value to be initialized into the 256-bit vector; there is one float parameter to initialize each float32 vector element

Description

Initializes a 256-bit vector with scalar single-precision floating point values (float32 values) as specified by the float parameter.

Returns

A float32 vector with all elements set to the specified scalar single-precision floating point value.