From patchwork Mon Nov 21 16:00:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Richard Earnshaw \(lists\)" X-Patchwork-Id: 83260 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp1611450obn; Mon, 21 Nov 2016 08:01:26 -0800 (PST) X-Received: by 10.129.145.195 with SMTP id i186mr15993340ywg.263.1479744086399; Mon, 21 Nov 2016 08:01:26 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id q1si4922818ywj.415.2016.11.21.08.01.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Nov 2016 08:01:26 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-442147-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-442147-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-442147-patch=linaro.org@gcc.gnu.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=FJUA6xL90sIOdIoBG3DoO5naAE55li0tWSJi+IVqlCBKnl7pE1 OaEnZJTEGL7dMMwsmIMaeH+x00Ky1hRDesmfTAMx6ug06b/IxhhcioH+Ow0SeNXK eZUsWCFR65pwDewfxwByRSOOK+5EgJ1X9N/rqc+FZ1wro0FQOxR5rhdOk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=vIjHgJ/pzjPA9JdVPklbS6r+ybg=; b=kbD24WFnOz59v7EUfAzL 0/Zj+avG1ZMkMCe5LjB+1mllJYd5cWMftwSAEIKjc32m4u8iXkCZyFxQozx5sYBv xDt0M58DPJhX5U3pOKgN4NE/4U2ttAE78nnYtHakaK/NySaPJzLmgt/AKlfp+a07 sZlIB0isAz+0OSrADbqdqL4= Received: (qmail 58652 invoked by alias); 21 Nov 2016 16:01:07 -0000 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 Received: (qmail 47825 invoked by uid 89); 21 Nov 2016 16:01:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=BAYES_00, KAM_ASCII_DIVIDERS, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=HX-Envelope-From:sk:Richard X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 21 Nov 2016 16:00:53 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C74ED28; Mon, 21 Nov 2016 08:00:51 -0800 (PST) Received: from e105689-lin.cambridge.arm.com (e105689-lin.cambridge.arm.com [10.2.207.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 55B753F220; Mon, 21 Nov 2016 08:00:51 -0800 (PST) To: gcc-patches From: "Richard Earnshaw (lists)" Subject: [arm] Delete unimplemented option -mapcs-float Message-ID: Date: Mon, 21 Nov 2016 16:00:49 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 The option -m[no-]apcs-float was never implemented in GCC. Since it referred specifically to the FPA floating point co-processor which is no-longer supported in GCC the option is now irrelevant. This patch cleans up the hunks that were left behind. * arm.opt (mapcs-float): Delete option * arm.c (arm_option_override): Remove hunk relating to TARGET_APCS_FLOAT. * doc/invoke.texi (arm options): Remove documentation for -mapcs-float. Applied to trunk. R. Index: gcc/config/arm/arm.c =================================================================== --- gcc/config/arm/arm.c (revision 242668) +++ gcc/config/arm/arm.c (working copy) @@ -3187,9 +3187,6 @@ if (TARGET_APCS_REENT) warning (0, "APCS reentrant code not supported. Ignored"); - if (TARGET_APCS_FLOAT) - warning (0, "passing floating point arguments in fp regs not yet supported"); - /* Initialize boolean versions of the flags, for use in the arm.md file. */ arm_arch3m = ARM_FSET_HAS_CPU1 (insn_flags, FL_ARCH3M); arm_arch4 = ARM_FSET_HAS_CPU1 (insn_flags, FL_ARCH4); Index: gcc/config/arm/arm.opt =================================================================== --- gcc/config/arm/arm.opt (revision 242668) +++ gcc/config/arm/arm.opt (working copy) @@ -61,10 +61,6 @@ mapcs Target RejectNegative Mask(APCS_FRAME) Undocumented -mapcs-float -Target Report Mask(APCS_FLOAT) -Pass FP arguments in FP registers. - mapcs-frame Target Report Mask(APCS_FRAME) Generate APCS conformant stack frames. Index: gcc/doc/invoke.texi =================================================================== --- gcc/doc/invoke.texi (revision 242668) +++ gcc/doc/invoke.texi (working copy) @@ -621,7 +621,6 @@ @gccoptlist{-mapcs-frame -mno-apcs-frame @gol -mabi=@var{name} @gol -mapcs-stack-check -mno-apcs-stack-check @gol --mapcs-float -mno-apcs-float @gol -mapcs-reentrant -mno-apcs-reentrant @gol -msched-prolog -mno-sched-prolog @gol -mlittle-endian -mbig-endian @gol @@ -14892,16 +14891,6 @@ @option{-mno-apcs-stack-check}, since this produces smaller code. @c not currently implemented -@item -mapcs-float -@opindex mapcs-float -Pass floating-point arguments using the floating-point registers. This is -one of the variants of the APCS@. This option is recommended if the -target hardware has a floating-point unit or if a lot of floating-point -arithmetic is going to be performed by the code. The default is -@option{-mno-apcs-float}, since the size of integer-only code is -slightly increased if @option{-mapcs-float} is used. - -@c not currently implemented @item -mapcs-reentrant @opindex mapcs-reentrant Generate reentrant, position-independent code. The default is