Monstrous commit smh, made a custom ssa intermediate representation to remove some stack ops, glendasay is about 40% faster (and i'm sure the other ones have some improvement too)

This commit is contained in:
cannoli-fruit 2026-07-30 04:54:05 -04:00
commit ca1ee83377
24 changed files with 1018 additions and 176 deletions

View file

@ -34,7 +34,7 @@ targets = {
for f in p:lines() do
base = f:match("([^/]+)%.c$")
obj = "build/"..base..".o"
cc = "cc -c '"..f.."' -o '"..obj.."' "..includes
cc = "cc -c -O3 '"..f.."' -o '"..obj.."' "..includes
e,h,c = execute(cc)
if c ~= 0 and c ~= nil then
print("Compilation Error")