From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19769 invoked by alias); 25 May 2009 19:54:37 -0000 Received: (qmail 19330 invoked by uid 48); 25 May 2009 19:54:25 -0000 Date: Mon, 25 May 2009 19:54:00 -0000 Message-ID: <20090525195425.19329.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/40171] GCC does not pass -mtune and -march options to assembler! In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "vvv at ru dot ru" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-05/txt/msg01992.txt.bz2 ------- Comment #4 from vvv at ru dot ru 2009-05-25 19:54 ------- (In reply to comment #2) > This is very odd? What is the assembler doing that the compiler isn't? There are exist some optimizations impossible without exact knowledge of address and opcodes, One example avoiding of branch mispredicts - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39942 Other example - Ensure instructions using 0xF7 opcode byte does not start at offset 14 of a fetch line... Unfortunately, current version GNU AS cat't do this optimizations. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40171