Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #10691

Re: Benchmarking C compilers for embedded systems

Date 2011-09-22 09:16 +0200
From Philipp Klaus Krause <pkk@spth.de>
Newsgroups comp.lang.c, comp.arch.embedded
Subject Re: Benchmarking C compilers for embedded systems
References <4e777f60$0$4152$6e1ede2f@read.cnntp.org> <mrednWBIE4YyPOrTnZ2dnUVZ8mSdnZ2d@lyse.net>
Message-ID <4e7ae0c2$0$4152$6e1ede2f@read.cnntp.org> (permalink)
Organization CNNTP

Cross-posted to 2 groups.

Show all headers | View raw


Am 19.09.2011 22:10, schrieb David Brown:
> On 19/09/11 19:43, Philipp Klaus Krause wrote:
>> I'd like to compare C compilers targetting embedded systems - the kind
>> that only have a few KB of RAM, etc.
>>
>> However there seems to be a lack of software I could use. Waht I'm
>> looking for should be free, written (mostly) in standard C, be not
>> totally different from typical embedded applications.
>>
>> So far I see:
>> - dhrystone
>> - The Contiki OS
>> - the files I've been using to track sdcc over revisions at
>> https://sourceforge.net/apps/trac/sdcc/wiki/Philipp%27s%20TODO%20list
>>
>> Are there any other suitable benchmarks I could look at? They don't have
>> to be designed as benchmarks, other software, like the Contiki OS
>> mentioned above is OK, too. THey don't even have to "run", so libraries
>> would be OK, too.
>>
>> Philipp
> 
> There are no good general benchmarks for small embedded systems - partly
> because it would be a great deal of work (standard C is not standard for
> many compilers - you need to use compiler-specific features to get the
> best out of them), and partly because it would be of very little use.
> 
> What you want to know is which tools are the best for /your/ code, not
> some general code written for completely different uses.  Most tool
> vendors provide free evaluation software - test them out on your own code.
> 

I don't just want to know which tool is best for my code. I want to
know, which tool is best for typical code.
I am one of the developers of the free sdcc compiler and currently
working on register and stack allcoation. I see that what I implemented
results in better code when compiling my own programs, Contiki,
dhrystone, Coremark. But I'd like to know if there is any code for which
the new approach performs worse than the on epreviously used in sdcc.
And I'd like to know it know, instead of having to wait for bug reports
about code size regressions coming in after the next release.

Philipp

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Benchmarking C compilers for embedded systems Philipp Klaus Krause <pkk@spth.de> - 2011-09-19 19:43 +0200
  Re: Benchmarking C compilers for embedded systems David Brown <david.brown@removethis.hesbynett.no> - 2011-09-19 22:10 +0200
    Re: Benchmarking C compilers for embedded systems Philipp Klaus Krause <pkk@spth.de> - 2011-09-22 09:16 +0200
      Re: Benchmarking C compilers for embedded systems David Brown <david@westcontrol.removethisbit.com> - 2011-09-22 10:26 +0200
  Re: Benchmarking C compilers for embedded systems Abhishek <abhishekmathur.10d@gmail.com> - 2011-09-20 00:50 -0700
    Re: Benchmarking C compilers for embedded systems Philipp Klaus Krause <pkk@spth.de> - 2011-09-21 09:40 +0200
      Re: Benchmarking C compilers for embedded systems Ian Collins <ian-news@hotmail.com> - 2011-09-21 21:06 +1200
        Re: Benchmarking C compilers for embedded systems Philipp Klaus Krause <pkk@spth.de> - 2011-09-22 09:12 +0200
          Re: Benchmarking C compilers for embedded systems Ian Collins <ian-news@hotmail.com> - 2011-09-22 19:41 +1200
  Re: Benchmarking C compilers for embedded systems Arlet Ottens <usenet+5@c-scape.nl> - 2011-09-22 10:34 +0200
  Re: Benchmarking C compilers for embedded systems Walter Banks <walter@bytecraft.com> - 2011-09-30 08:11 -0400

csiph-web