avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] binutils/.../testsuite/avr


From: Klaus Rudolph
Subject: Re: [avr-gcc-list] binutils/.../testsuite/avr
Date: Sat, 04 Dec 2004 01:16:12 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.6) Gecko/20040114

Hi all,

On the other hand, binutils and gcc just spit out a file. As such, there
should be no need for a simulator for the most part. It's just a matter
of compiling or assembling a chunk of code and then comparing the output
to some expected result. The output used for the compare could either be
the raw intermediate asm file for a C code fragment or possibly a
disassemle of the object file.
I think that is ok for assembler but never for C/C++. If you change something in gcc maybe a better optimizer the code is valid but the comparisson against a older file is not ok. So a simulation is needed
to check that the code *do* the same and not *look* the same. :-)

Bye
  Klaus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]