Re: Compiler tricks to improve speed
- From: Jim Granville <no.spam@xxxxxxxxxxxxxxxxx>
- Date: Tue, 16 May 2006 09:50:46 +1200
SSM wrote:
Hello All,
I am using C51 and my code runs on Infineon controller.
For company policy reason I am not revealing the exact controller and sorry
about that.
I would like to improve the speed. I was using the large memory model for
this compiler
and now I use small memory model. This has improved speed a lot.
I would like to know if there are some more such settings for this compiler
to improve the speed.
Thank you in advance.
# Read the assembler output, and start to learn the code the compiler
creates for given constructs. ie understand your tools
# Focus on the code blocks, where you know speed matters.
# Use in-line assembler, but only as a last resort.
# Increase the CPU clock speed, or move to a newer infineon model, like
the 868 or 888 variants ?
-jg
.
- References:
- Compiler tricks to improve speed
- From: SSM
- Compiler tricks to improve speed
- Prev by Date: Re: OT: In case your Minolta quits
- Next by Date: Re: C embedded programming books?
- Previous by thread: Re: Compiler tricks to improve speed
- Next by thread: Re: Compiler tricks to improve speed
- Index(es):
Relevant Pages
|
|