Say, for example, that I have 2 variables __m256i, called rowsand cols, the values ββinside them:
rows: 0, 2, 7, 5, 7, 2, 3, 0
cols: 1, 2, 7, 5, 7, 2, 2, 6
Now, these values represent the positions xand y8 points, so in this case I would have the following terms:
p0: [0, 1], p1: [2, 2], p2: [7, 7], p3: [5, 5]
p4: [7, 7], p5: [2, 2], p6: [3, 2], p7: [0, 6]
I also have an array with a name lutthat will have inttype values :
lut: [0, 1, 2, 3, ..., 60, 61, 62, 63]
I want to use these position values ββfrom variables rowsand cols, access it with an array lutand create a new value __m256iwith lutavailable values.
, , , - rows cols int 8, lut , _mm256_set_epi32(), _m256i.
, , . , .
, , lut 64.
!