This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Pass -mtune and -march options to assembler.
Mark Mitchell <mark@codesourcery.com> wrote:
It may also be valuable to do optimization in the
assembler for the benefit of hand-written assembly code.
IMHO, especialy for hand-written assembly code all
optimizations by assembler must be excluded. Because
program's optimization can destroy human's optimizations/
Certainly, everything that can be done in the compiler
with reasonable effort should be done there.
I agree. But what to do whis opcode/address-dependable
optimizations?
What to do whis Intel's recomentdation: "Ensure
instructions using 0xF7 opcode byte does not start at
offset 14 of a fetch line..."
Vladimir Volynsky
---
Professional hosting for everyone - http://www.host.ru