822d920956
pointed out by Simon (Simon's option #3): use the greatest power of two which is a divisor of the desired number of cache colors. This code might want to stay even after the cache probing code is fixed.