roundup2
#define roundup2(x,m) ((((x) - 1) | ((m) - 1)) + 1)
#undef roundup2
#define roundup2(x, m) ((((x) - 1) | ((m) - 1)) + 1)