From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2006-11-14 03:44:03
On 11/13/06, Sohail Somani <s.somani_at_[hidden]> wrote:
> > -----Original Message-----
> > From: boost-bounces_at_[hidden]
> > [mailto:boost-bounces_at_[hidden]] On Behalf Of Talbot, George
> > I also do not have a good answer to the post by Sohail Somani
> > about what
> > the compiler will do with this in the future.
> Actually I think Visual C++ 7.1+ might already do it.
While it is likely that most compilers will do whole program
optimizations in the future and be able to reorder across compilation
units, I think that it is extremely unlikely that compilers will ever
reorder instructions in pure assembly modules. First of all because to
do whole program optimization they need special data produced during
compilation (that assembler modules lack), and also because they would
render assembler programming useless. IMHO of course.
-- Giovanni P. Deretta
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk