Won't work like that, getting this:
/Users/mkhardin/Projects/opencv/opencv_src/modules/core/perf/perf_arithm.cpp:216:11: error: no viable overloaded '>>='
        a >>= 16;