mirror of
https://github.com/Ed94/pikuma_ps1.git
synced 2026-08-03 22:28:47 +00:00
orgnaizing, improving asm annotation
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
assert((point) <= (end)); \
|
||||
} while(0)
|
||||
|
||||
inline U4 align_pow2(U4 x, U4 b) {
|
||||
I_ U4 align_pow2(U4 x, U4 b) {
|
||||
assert(b != 0);
|
||||
assert((b & (b - 1)) == 0); // Check power of 2
|
||||
return ((x + b - 1) & (~(b - 1)));
|
||||
|
||||
Reference in New Issue
Block a user