test usz=64

also fix MM=2 assertion
This commit is contained in:
dzaima 2023-04-06 18:12:00 +03:00
parent a0cdcdc898
commit ecced53957
2 changed files with 4 additions and 5 deletions

View File

@ -90,7 +90,7 @@ static NOINLINE void* BN(allocateMore)(i64 bucket, u8 type, i64 from, i64 to) {
c->next = 0;
vg_undef_p(c, sz);
BN(splitTo)(c, from, to, false);
assert(buckets[bucket]!=NULL);
assert(buckets[to]!=NULL);
return BN(allocL)(bucket, type);
}
@ -109,7 +109,7 @@ NOINLINE void* BN(allocS)(i64 bucket, u8 type) {
}
}
BN(splitTo)(c, from, to, true);
assert(buckets[bucket]!=NULL);
assert(buckets[to]!=NULL);
return BN(allocL)(bucket, type);
}

View File

@ -12,7 +12,8 @@ build/build f='-DDEBUG -DDEBUG_VM' c && ./BQN -p 2+2 2>&1 | tail -2 || exit
build/build f='-DWARN_SLOW' c && ./BQN -p 2+2 2> /dev/null || exit
build/build f='-DMM=0 -DENABLE_GC=0' c && ./BQN -p 2+2 || exit
build/build f='-DMM=1' c && ./BQN -p 2+2 || exit
build/build f='-DMM=2' c && ./BQN -p 2+2 || exit
build/build f='-DMM=2' debug c && ./BQN "$1/test/this.bqn" || exit
build/build usz=64 debug c && ./BQN "$1/test/this.bqn" || exit
build/build f='-DTYPED_ARITH=0' c && ./BQN -p 2+2 || exit
build/build f='-DFAKE_RUNTIME' c && ./BQN -p 2+2 || exit
build/build f='-DALL_R0' c && ./BQN -p 2+2 || exit
@ -27,9 +28,7 @@ build/build f='-DNO_RT' c && ./BQN -p 2+2 || exit
build/build f='-DNATIVE_COMPILER' c && ./BQN -p 2+2 || exit
build/build f='-DNATIVE_COMPILER -DONLY_NATIVE_COMP -DFORMATTER=0 -DNO_RT -DNO_EXPLAIN' c && ./BQN -p 2+2 || exit
build/build f='-DLOG_GC' c && ./BQN -p 2+2 || exit
build/build f='-DWRITE_ASM' c && ./BQN -p 2+2 || exit
build/build f='-DUSE_PERF' c && ./BQN -p 2+2 || exit
build/build f='-DUSZ_64' c && ./BQN -p 2+2 || exit
build/build f='-DREPL_INTERRUPT=0' c && ./BQN -p 2+2 || exit
build/build f='-DREPL_INTERRUPT=1' c && ./BQN -p 2+2 || exit
build/build FFI=0 c && ./BQN -p 2+2 || exit