Feb. 8th, 2018

izard: (Default)
I will probably find why that happens tomorrow, but here it is:
(gdb) n
631 __m256i C = _mm256_mul_epu32(A, B);
(gdb) p/x A.m256i_i32
$1 = {0x1,  0x1, 0x1, 0x1,  0x1, 0x1, 0x1, 0x1}
(gdb) p/x B.m256i_i32
$2 = {0xff, 0x0, 0x0, 0xff, 0x0, 0x0, 0x0, 0xff}
(gdb) n
(gdb) p/x C.m256i_i32
$3 = {0xff, 0x0, 0x0, 0x0,  0x0, 0x0, 0x0,  0x0}

WTF!!!!!

While posting, I RTFM'd, and found what is wrong. Very counter-intuitive, but above is expected!

Profile

izard: (Default)
izard

August 2025

S M T W T F S
     12
3456789
10111213 141516
17181920212223
24252627282930
31      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 1st, 2025 07:38 pm
Powered by Dreamwidth Studios