From patchwork Sat Mar 24 18:48:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 148532 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 7C2DAB6EEC for ; Sun, 25 Mar 2012 05:48:32 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1333219713; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:From:To:Subject:Date:User-Agent:MIME-Version:Message-Id: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=cBnvxYy zNQ68FT2UuTOFEaJk8IE=; b=fOqbMsHaU3tWn06ueMkCSAH+j+qzo5/tLcMNh7k 5YAGGSIl8VUQqcO6WQ1NORIdGxGLx2ipsCiIf6nRF5aYGWHorY6cZT68KJX0N+oq oJ9JS4+UIkWrR+FUfugLTMlZEja9qWy4xOWrH+OlmGt3Rafm7oZyiyc9FUOA0qVO R81w= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:From:To:Subject:Date:User-Agent:MIME-Version:Message-Id:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=dJjTHLT1NxaJ3c9ookSS9l3EB0fhW1a7xQb8lr6R9NPDOAlLxuFPGHEkm6mj+B 8HvMvZkuLqYMCJH6ZLAsv52RTb0lmlBSg+MsL0kJtZWnkH3IVXA4c9T4yE0++oeZ 0WV5U1Wbo1UA0HhGwu2vaqFVBIxMuc/PQtw6pEHLMyUQ0=; Received: (qmail 10563 invoked by alias); 24 Mar 2012 18:48:24 -0000 Received: (qmail 10537 invoked by uid 22791); 24 Mar 2012 18:48:22 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 24 Mar 2012 18:48:08 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id C9A9B290022 for ; Sat, 24 Mar 2012 19:48:10 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LEnIH7RRQr9A for ; Sat, 24 Mar 2012 19:48:10 +0100 (CET) Received: from [192.168.1.2] (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 93175290007 for ; Sat, 24 Mar 2012 19:48:10 +0100 (CET) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: [SPARC] Fix PR target/52610 Date: Sat, 24 Mar 2012 19:48:11 +0100 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Message-Id: <201203241948.12076.ebotcazou@adacore.com> Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org We need to pass -Av8 to the assembler when -mcpu=leon is specified. Applied on the mainline and 4.7 branch. 2012-03-24 Eric Botcazou PR target/52610 * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=leon. Index: config/sparc/sparc.h =================================================================== --- config/sparc/sparc.h (revision 185570) +++ config/sparc/sparc.h (working copy) @@ -329,6 +329,7 @@ extern enum cmodel sparc_cmodel; %{mcpu=sparclite86x:-Asparclite} \ %{mcpu=f930:-Asparclite} %{mcpu=f934:-Asparclite} \ %{mcpu=v8:-Av8} \ +%{mcpu=leon:-Av8} \ %{mv8plus:-Av8plus} \ %{mcpu=v9:-Av9} \ %{mcpu=ultrasparc:%{!mv8plus:-Av9a}} \