Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of Contents

_mm256_extractf128_ps

Extracts 128-bit float32 values. The corresponding Intel® AVX instruction is VEXTRACTF128.

Syntax

extern __m128 _mm256_extractf128_ps(__m256 m1, const int offset);

Arguments

m1

float32 source vector

offset

a constant integer value that represents the 128-bit offset from where extraction must start

Description

Extracts 128-bit packed single-precision floating point values (float32 values) from the source vector m1, starting from the location specified by the value in the offset parameter.

Returns

Result of the extraction operation.