Jump to content
  • Advertisement
Sign in to follow this  
ToohrVyk

Optimization

This topic is 4252 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am currently writing a compiler from a custom language to C. I have access to large amounts of high-level information, and I would like to use it to optimize the generated code (by removing redundant checks, branches and fields, while keeping relevant ones, for instance). I'm willing and eager to let the C compiler do the low-level optimization for me. Do you have pointers to any resources about this type of optimization? Or perhaps words of wisdom from your own experience in this field?

Share this post


Link to post
Share on other sites
Advertisement
You might want to consider writing a GCC front-end instead of compiling to C. I hear it's actually pretty easy, and you'll get the full weight of GCC's optimization power.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!