assembly - AVX 512: Initialize ZMM registers -


i'm developing in assembly avx 512.

i haven't found way set value 1 in 8 x 64bits word of %zmm register. in c program _asm_ statement.

edit 1 answer:

i want in assembly because want sure compiler not change instruction. i'm developing control how many instruction (addition in case) executed. in purpose, need initialise 2 zmmregisters value 1 in each 64 bits word. number of addition between vector , store result in third vector. @ end reduction on vector count how many addition have been done.

edit 2 i'm developping code see how many addition can performed during amount of cycle. there big difference between developing __asm__and developing directly in assembly ?


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -