Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

512bit counterparts missing

$
0
0

Hi,

want to use ZMM instead of YMM, need help in finding the counterparts of:

		YMMcmp = _mm256_cmpeq_epi8(YMMcurr, YMMclone);
		YMMsub = _mm256_sub_epi8(YMMzero, YMMcmp);
		YMMadd = _mm256_add_epi8(YMMand, YMMsub);
		YMMmax = _mm256_max_epu8(YMMmax, YMMadd);

Found only these in zmmintrin.h, but I need '8' not '64':

#define _mm512_cmpeq_epi64_mask(v1, v2) \
        _mm512_cmp_epi64_mask((v1), (v2), _MM_CMPINT_EQ)
extern __m512i __ICL_INTRINCC _mm512_sub_epi64(__m512i, __m512i);
extern __m512i __ICL_INTRINCC _mm512_add_epi64(__m512i, __m512i);
extern __m512i __ICL_INTRINCC _mm512_max_epu64(__m512i, __m512i);

Don't know how to emulate, is there an on-line resource on this?

Also, they have to work with the recently outed 10th gen mobile CPUs, does the AVX-512 extension support them, somewhere saw a review reporting AVX-512F.


Viewing all articles
Browse latest Browse all 1175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>