freenode/#clasp - IRC Chatlog
Search
14:53:55
Bike
i have a setup now so that operations on bit arrays with displaced-index-offset = 0 (ie most of them) use a simple function that should be insensitive to the "word" size
17:59:32
Bike
it started working when i used (value & 1) instead of value in one place, but i don't see what would be passing something other than 1 or 0 as value anyway. this is kind of worrying.
18:09:21
Bike
what's the incantation to prevent clang from optimizing a function, so that I can actually look at variables? [[nooptimize]] or something?
18:16:14
jackdaniel
ACTION assume that either Bike met someone else or he didn't understand the joke
18:34:57
stassats
i wonder what constitutes non-optimization, the first ir pass translated into assembly?
19:28:19
Bike
other than that weirdness everything seems to work, so maybe now i can get nibble arrays working
19:57:37
Bike
i see cando uses some custom bit vector functions. could probably straighten that up a little bit
20:09:07
Bike
and there's lowestIndex which is find first set or whatever, and isZero, and ranged eq, all of those could be implemented without checking individual bits