Re: Compiler tricks to improve speed



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

.



Relevant Pages

  • Re: Compiler tricks to improve speed
    ... I am using C51 and my code runs on Infineon controller. ... For company policy reason I am not revealing the exact controller and sorry ... and now I use small memory model. ... I would like to know if there are some more such settings for this compiler ...
    (comp.arch.embedded)
  • Re: Compiler tricks to improve speed
    ... I am using C51 and my code runs on Infineon controller. ... For company policy reason I am not revealing the exact controller and sorry ... and now I use small memory model. ... I would like to know if there are some more such settings for this compiler ...
    (comp.arch.embedded)
  • Re: Compiler tricks to improve speed
    ... I am using C51 and my code runs on Infineon controller. ... For company policy reason I am not revealing the exact controller and sorry ... and now I use small memory model. ... I would like to know if there are some more such settings for this compiler ...
    (comp.arch.embedded)
  • Compiler tricks to improve speed
    ... I am using C51 and my code runs on Infineon controller. ... For company policy reason I am not revealing the exact controller and sorry ... and now I use small memory model. ... I would like to know if there are some more such settings for this compiler ...
    (comp.arch.embedded)
  • Re: C#, Threads, Events, and DataGrids/DataSets
    ... Jon asked me to weigh in on the memory model issue below. ... there is enough wiggle room in the spec to cause grief. ... so the JIT compiler can know special things about it). ... memory cell will be access cross thread without synchronization). ...
    (microsoft.public.dotnet.general)