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:
parent
f738034ce4
commit
ca1ee83377
24 changed files with 1018 additions and 176 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue