From patchwork Fri Aug 27 13:38:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Catherine Moore X-Patchwork-Id: 62855 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 37583B70FE for ; Fri, 27 Aug 2010 23:49:59 +1000 (EST) Received: (qmail 10453 invoked by alias); 27 Aug 2010 13:49:42 -0000 Received: (qmail 10430 invoked by uid 22791); 27 Aug 2010 13:49:40 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Aug 2010 13:48:46 +0000 Received: (qmail 19979 invoked from network); 27 Aug 2010 13:48:44 -0000 Received: from unknown (HELO ?192.168.89.128?) (clm@127.0.0.2) by mail.codesourcery.com with ESMTPA; 27 Aug 2010 13:48:44 -0000 Message-ID: <4C77BFD3.2020805@codesourcery.com> Date: Fri, 27 Aug 2010 09:38:27 -0400 From: Catherine Moore User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: gcc-patches CC: Catherine Moore Subject: [Patch] MIPS: Infer dspr2 for the 74k 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 This patch changes the default DSP setting for the 74K to DSPR2. Does this look okay to install? Thanks, Catherine 2010-08-27 Catherine Moore * config/mips/mips.h (BASE_DRIVER_SELF_SPECS): Infer -mdspr2 for the the 74K. Index: config/mips/mips.h =================================================================== --- config/mips/mips.h (revision 163517) +++ config/mips/mips.h (working copy) @@ -761,7 +761,8 @@ enum mips_code_readable_setting { /* A spec that infers the -mdsp setting from an -march argument. */ #define BASE_DRIVER_SELF_SPECS \ - "%{!mno-dsp:%{march=24ke*|march=34k*|march=74k*|march=1004k*: -mdsp}}" + "%{!mno-dsp:%{march=24ke*|march=34k*|march=1004k*: -mdsp}} \ + %{!mno-dspr2:%{march=74k*: -mdspr2}}" #define DRIVER_SELF_SPECS BASE_DRIVER_SELF_SPECS