Make #simd an opaque type

This commit is contained in:
gingerBill
2022-05-25 17:26:18 +01:00
parent d8e77cd738
commit b032d5af87
5 changed files with 34 additions and 24 deletions

View File

@@ -47,6 +47,13 @@ void debugf(char const *fmt, ...);
#include "range_cache.cpp"
bool is_power_of_two(i64 x) {
if (x <= 0) {
return false;
}
return !(x & (x-1));
}
int isize_cmp(isize x, isize y) {
if (x < y) {
return -1;