sum of xmm register
Posted: Wed Mar 08, 2023 4:22 pm
suppose that xmm0 has 4 floats, how would you sum-up the values into the lowest part of xmm0 ?
pseudo code xmm0\0 = xmm0\0 + xmm0\1 + xmm0\2 + xmm0\3
and likewise if xmm0 had 2 doubles
// Moved from "Coding Questions" to "Assembly Programming" (Kiffi)
pseudo code xmm0\0 = xmm0\0 + xmm0\1 + xmm0\2 + xmm0\3
and likewise if xmm0 had 2 doubles
// Moved from "Coding Questions" to "Assembly Programming" (Kiffi)