This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Pass -mtune and -march options to assembler.
Mark Mitchell <email@example.com> wrote:
So, fix the assembler. The ARM assembler reads .march
directives from the .s file, so that should provide some useful
I am not guru in GNU AS. I am not guru in GCC. This is my
May be later...
You're treating GAS as an immovable target, but it's not
-- we can change it.
Not an immovable, but slow movable. Step by step. First
step - create
GCC - AS interface for optimization options. Second step -
options. Third - add optimizations to AS, that impossible
to do on GCC level. Then add .tune directive. And so on...
Every big project, especially community-project, have to
be very conservative. Many small step changes better then
one global change.
Because big change results many bugs and a lot of headache
and developers. It's required very serious reason for
Optimization in the linker makes sense; the linker has more
information than the compiler/assembler.
Right, but one note - it's required some control for
enable/disable optimization on some code fragments (for
human-optimized assembler routines).
Professional hosting for everyone - http://www.host.ru