https://bugs.kde.org/show_bug.cgi?id=489221

--- Comment #3 from Steve Hill <steve+...@hill-mail.co.uk> ---
According to Intel, this is not part of AVX512F. The repro targets Haswell,
which is over 10 years old and does not support any AVX512 at all but still
supports this as it is part of F16C:

Synopsis

__m128i _mm256_cvtps_ph (__m256 a, int imm8)
#include <immintrin.h>
Instruction: vcvtps2ph xmm, ymm, imm8
CPUID Flags: F16C

Description

Convert packed single-precision (32-bit) floating-point elements in a to packed
half-precision (16-bit) floating-point elements, and store the results in dst.

Rounding is done according to the imm8[2:0] parameter, which can be one of:
    _MM_FROUND_TO_NEAREST_INT // round to nearest
    _MM_FROUND_TO_NEG_INF     // round down
    _MM_FROUND_TO_POS_INF     // round up
    _MM_FROUND_TO_ZERO        // truncate
    _MM_FROUND_CUR_DIRECTION  // use MXCSR.RC; see _MM_SET_ROUNDING_MODE

Hence, I am not convinced that it is a duplicate of bug 383010 as that seems to
be AVX512-specific? Of course, if it gets done, I don't really mind that much!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to