This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Yep.I cannot read Jason's mind, but I think that it's because the old definition "num_nonzero_elements < num_type_elements/4" cannot be true for num_type_elements smaller than 4.
Thanks, then
sparse = (num_nonzero_elements == 0) || (num_nonzero_elements < num_type_elements/4);
would achieve the same goal without changing the definition of sparseness.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |