From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Stallman To: robertl@dgii.com Cc: gas2@cygnus.com Subject: Re: other apps that assemble code Date: Thu, 05 Feb 1998 23:26:00 -0000 Message-id: <199802060722.AAA25002@wijiji.santafe.edu> References: <199802051756.JAA28237@canuck.cygnus.com.> <19980205123732.35907@dgii.com> <19980205123732.35907@dgii.com> X-SW-Source: 1998/msg00035.html The mips uopt pass did many of the same optimizations at the assembler level that GCC does a couple of levels up. It did flow analysis, constant propogation, branch prediction and all sort os wild and crazy things. The "optimization" in GAS is far less ambitious. I made a basic design decision long ago not to try to do anything like this. The reason is that it involves pushing most of the compiler and linker down into the assembler. That contorts the design and makes a lot of extra work, and it just isn't worth that much trouble.