This is the mail archive of the
mailing list for the GCC project.
Re: assembly: control flow graphs (and optimizations)
- From: Robert Dewar <dewar at adacore dot com>
- To: Sunzir Deepur <sunzird at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 22 Jul 2007 07:25:23 -0400
- Subject: Re: assembly: control flow graphs (and optimizations)
- References: <email@example.com>
Sunzir Deepur wrote:
is there a meaning for control flow graphs of assembly files (.S)
(e.g. those that are emitted using -fdump-rtl-*) ?
if not - then how are assembly file being optimized ? I guess
that assembly files can be made more efficient by many of gcc's
can't they ?
possibly, but the only reasonable use of assembly these days is
for low level programming where you absolutely do NOT want any
any optimization. For instance, the hardware may have timing
requirements that require instructions to be emitted in some
very precise order. So this is neither possible nor desirable.