Cell: added ROUNUP4

This commit is contained in:
Brian 2008-01-26 19:31:20 -07:00
parent 1bab5bd24e
commit 419a5cca34

View file

@ -54,6 +54,9 @@
assert((((unsigned long) (ptr)) & 0xf) == 0);
/** round up value to next multiple of 4 */
#define ROUNDUP4(k) (((k) + 0x3) & ~0x3)
/** round up value to next multiple of 16 */
#define ROUNDUP16(k) (((k) + 0xf) & ~0xf)