From patchwork Mon Jan 7 19:27:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Ellcey X-Patchwork-Id: 210062 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 045A32C0084 for ; Tue, 8 Jan 2013 06:27:57 +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=1358191678; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:From:Date:To:Subject:User-Agent:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-ID:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=hxXg/D/nj20RtVD0IqwDbAdLpsA=; b=aTAU71ZyE+BDWH10dsr8I5fSdRmYWfVvUU22bfLwP29+diTsKGy57sDxMeIM2t ik00a4b2uUVv6zI4o0geLw9XcSLIJPVCIvphT7NqzEoCxQqlTGDL1o/8z9zlHdsi f9skrWQOvKf5aHA9lGs2uMAA00iIxCjmiL5X1ICQDjTig= 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:X-M-MSG:Received:Received:Received:From:Date:To:Subject:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID:X-EMS-Proccessed:X-EMS-STAMP:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=mZBXhl6JGvWZkpohfWIeK2dUC2DXwBt3DUeI2P/gY7OZK2ADM70zMUfT+0VkDQ UV1e47YyoXigDP9PgOjDNJlI6D8V2jgdS6S9dJIHVjAO2PgTJjpPzcbaTgkXIL2G V6/EtLpL9BJXXVkBtTXmoBE+214eezPgN3bGBMwgdwCPg=; Received: (qmail 17003 invoked by alias); 7 Jan 2013 19:27:51 -0000 Received: (qmail 16991 invoked by uid 22791); 7 Jan 2013 19:27:50 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from dns1.mips.com (HELO dns1.mips.com) (12.201.5.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Jan 2013 19:27:44 +0000 Received: from mailgate1.mips.com (mailgate1.mips.com [12.201.5.111]) by dns1.mips.com (8.13.8/8.13.8) with ESMTP id r07JRYJV032481 for ; Mon, 7 Jan 2013 11:27:37 -0800 X-M-MSG: Received: from exchdb01.mips.com (unknown [192.168.36.84]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mailgate1.mips.com (Postfix) with ESMTP id 2ED17364643 for ; Mon, 7 Jan 2013 11:27:31 -0800 (PST) Received: from ubuntu-sellcey.mips.com (192.168.65.53) by exchhub01.mips.com (192.168.36.84) with Microsoft SMTP Server id 14.2.247.3; Mon, 7 Jan 2013 11:27:27 -0800 Received: by ubuntu-sellcey.mips.com (sSMTP sendmail emulation); Mon, 07 Jan 2013 11:27:26 -0800 From: "Steve Ellcey " Date: Mon, 7 Jan 2013 11:27:26 -0800 To: Subject: [patch, mips] Change -mad to -mmad to match documentation User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Message-ID: <786b4481-9093-40bc-ae04-d3501a4a05ef@EXCHHUB01.MIPS.com> X-EMS-Proccessed: 6LP3oGfGVdcdb8o1aBnt6w== X-EMS-STAMP: KdyhO4B7YMwu4rUuuGvfSA== 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 The MIPS documentation describes a -mmad (-mno-mad) flag, but it is incorrectly implemented as -mad (-mno-ad) instead. This patch changes the implementation to match the documentation. This means that users who are currently using the -mad or -mno-ad flags would have to change. If we want we could leave -mad and -mno-ad as aliases for -mmad and -mno-ad but I don't think that is necessary. If someone does think we should do allow -mad, please let me know. OK to checkin? Steve Ellcey sellcey@mips.com 2013-01-07 Steve Ellcey PR target/42661 * config/mips/mips.opt: Change mad to mmad to match documentation. diff --git a/gcc/config/mips/mips.opt b/gcc/config/mips/mips.opt index dec028d..201d46f 100644 --- a/gcc/config/mips/mips.opt +++ b/gcc/config/mips/mips.opt @@ -55,7 +55,7 @@ mabicalls Target Report Mask(ABICALLS) Generate code that can be used in SVR4-style dynamic objects -mad +mmad Target Report Var(TARGET_MAD) Use PMC-style 'mad' instructions