Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to use cibyl built-in optimizations #7

Open
meirtsvi opened this issue Aug 15, 2011 · 1 comment
Open

Try to use cibyl built-in optimizations #7

meirtsvi opened this issue Aug 15, 2011 · 1 comment

Comments

@meirtsvi
Copy link
Owner

Go over config.hh file in Cibyl and try enabling one or more of the following optimizations:

this->optimizeInlines = true;
this->optimizeCallTable = false;
this->optimizePartialMemoryOps = false;
this->optimizePruneStackStores = false;
this->optimizeFunctionReturnArguments = false;
this->pruneUnusedFunctions = true;

this->classSizeLimit = 16384; /* Pretty arbitrary value! */
this->callTableHierarchy = 1;
this->callTableClasses = 1;
@SimonKagstrom
Copy link

You can access these via the cibyl-mips2java script (assuming you use that for your builds).

You could try forcing everything to one method (the colocation stuff), which would require some cibyl hacks. As I don't think MS CIL has the 64K method size limit that Java has, this should probably generate more efficient code as the function call overhead is mostly gone then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants