
On 11/13/06, Sohail Somani <s.somani@fincad.com> wrote:
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] 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