This commit is contained in:
lax1dude 2024-10-31 22:49:52 -07:00
parent 5830392f60
commit 30a61fd9dd

View File

@ -515,12 +515,12 @@ public final class LaxMalloc {
} }
private static int numberOfTrailingZerosL(long i) { private static int numberOfTrailingZerosL(long i) {
//TODO: Intrinsify this, WASM has dedicated instructions for this operation!!! // TODO: Intrinsify this, WASM has dedicated instructions for this operation!!!
return Long.numberOfTrailingZeros(i); return Long.numberOfTrailingZeros(i);
} }
private static int numberOfLeadingZerosI(int i) { private static int numberOfLeadingZerosI(int i) {
//TODO: Intrinsify this, WASM has dedicated instructions for this operation!!! // TODO: Intrinsify this, WASM has dedicated instructions for this operation!!!
return Integer.numberOfLeadingZeros(i); return Integer.numberOfLeadingZeros(i);
} }