You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: loops over popcount are really hard for static analysis #129
Most vector instruction definitions loop over the constant number of lanes, and then look at the mask register if applicable.
Packed_Vector_Mem_Read? and Packed_Vector_Mem_Write? instead set the loop counter based on popcount, and that makes some static analysis tools really sad; similarly for COMPRESS_{m,z}.
Something like
for i := 0 to elements-1 do
if i < num_unmasked_elements then
... the same body ...
endif;
endfor;
might be friendlier?
Why Is This Needed?
Helps static analysers unroll the loops better when the bound is a trivial constant.
Activity