From patchwork Thu Jun 14 09:26:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Earnshaw X-Patchwork-Id: 164872 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 D8401B706E for ; Thu, 14 Jun 2012 19:26:58 +1000 (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=1340270820; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=lfwjlRf y13JGb68/CQE8EpzpFo0=; b=wqChWqgYRBj/8UJTgxpuJ1WZtds6WgmX1kuopgP zPVjy9aPZJXwi8r/33QU6klWq6j/KOBJQPJv1Omb8uT0a/O+2CXXaO4HbP0Dhyfb 2G917zYOfxfzZpHPBudPptOaiVw/1bGw9WH2DIfyqL3smEuMe5nx+EdSoA9qj8tP UMJw= 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:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:X-MC-Unique:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=b6BL+mJmllSL5I+YiElJdbFVck32HVgWKysviT9JGBSNdMsCTI169vF0k1wyfp 5bUZGYOWRSUbeMJHn9akcq/x9hORQ+gO4MUOG7ho7JfTUDxeuTMd80h1pmX5SXXr o6VeoQQTv7Kif6a31SHy0eseCLxucEAGolyQpSZGttzNw=; Received: (qmail 8141 invoked by alias); 14 Jun 2012 09:26:49 -0000 Received: (qmail 8005 invoked by uid 22791); 14 Jun 2012 09:26:47 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_LOW, TW_MF X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Jun 2012 09:26:31 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Thu, 14 Jun 2012 10:26:29 +0100 Received: from [10.1.69.67] ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 Jun 2012 10:27:03 +0100 Message-ID: <4FD9AE45.2090601@arm.com> Date: Thu, 14 Jun 2012 10:26:29 +0100 From: Richard Earnshaw User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org Subject: [arm] Remove obsolete FPA support (2/n): Remove command-line options X-MC-Unique: 112061410262911201 X-IsSubscribed: yes 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 removes the command line options that enabled generation of FPA and maverick instructions, along with their associated documentation. * arm.opt (mfp=2, mfp=3, mfpe, mfpe=2, mfpe=3): Delete options. * arm-fpus.def (fpa, fpe2, fpe3, maverick): Delete FPU types. * arm-tables.opt: Regenerated. * doc/invoke.texi: Remove references to deleted options. R. Index: doc/invoke.texi =================================================================== --- doc/invoke.texi (revision 188510) +++ doc/invoke.texi (working copy) @@ -479,7 +479,7 @@ Objective-C and Objective-C++ Dialects}. -mapcs-reentrant -mno-apcs-reentrant @gol -msched-prolog -mno-sched-prolog @gol -mlittle-endian -mbig-endian -mwords-little-endian @gol --mfloat-abi=@var{name} -mfpe @gol +-mfloat-abi=@var{name} @gol -mfp16-format=@var{name} -mthumb-interwork -mno-thumb-interwork @gol -mcpu=@var{name} -march=@var{name} -mfpu=@var{name} @gol @@ -10823,20 +10823,12 @@ Linux, and not all architectures are rec unsuccessful the option has no effect. @item -mfpu=@var{name} -@itemx -mfpe=@var{number} -@itemx -mfp=@var{number} @opindex mfpu -@opindex mfpe -@opindex mfp This specifies what floating-point hardware (or hardware emulation) is -available on the target. Permissible names are: @samp{fpa}, @samp{fpe2}, -@samp{fpe3}, @samp{maverick}, @samp{vfp}, @samp{vfpv3}, @samp{vfpv3-fp16}, -@samp{vfpv3-d16}, @samp{vfpv3-d16-fp16}, @samp{vfpv3xd}, @samp{vfpv3xd-fp16}, -@samp{neon}, @samp{neon-fp16}, @samp{vfpv4}, @samp{vfpv4-d16}, -@samp{fpv4-sp-d16} and @samp{neon-vfpv4}. -@option{-mfp} and @option{-mfpe} are synonyms for -@option{-mfpu}=@samp{fpe}@var{number}, for compatibility with older versions -of GCC@. +available on the target. Permissible names are: @samp{vfp}, @samp{vfpv3}, +@samp{vfpv3-fp16}, @samp{vfpv3-d16}, @samp{vfpv3-d16-fp16}, @samp{vfpv3xd}, +@samp{vfpv3xd-fp16}, @samp{neon}, @samp{neon-fp16}, @samp{vfpv4}, +@samp{vfpv4-d16}, @samp{fpv4-sp-d16} and @samp{neon-vfpv4}. If @option{-msoft-float} is specified this specifies the format of floating-point values. Index: config/arm/arm-tables.opt =================================================================== --- config/arm/arm-tables.opt (revision 188510) +++ config/arm/arm-tables.opt (working copy) @@ -360,56 +360,44 @@ Name(arm_fpu) Type(int) Known ARM FPUs (for use with the -mfpu= option): EnumValue -Enum(arm_fpu) String(fpa) Value(0) +Enum(arm_fpu) String(vfp) Value(0) EnumValue -Enum(arm_fpu) String(fpe2) Value(1) +Enum(arm_fpu) String(vfpv3) Value(1) EnumValue -Enum(arm_fpu) String(fpe3) Value(2) +Enum(arm_fpu) String(vfpv3-fp16) Value(2) EnumValue -Enum(arm_fpu) String(maverick) Value(3) +Enum(arm_fpu) String(vfpv3-d16) Value(3) EnumValue -Enum(arm_fpu) String(vfp) Value(4) +Enum(arm_fpu) String(vfpv3-d16-fp16) Value(4) EnumValue -Enum(arm_fpu) String(vfpv3) Value(5) +Enum(arm_fpu) String(vfpv3xd) Value(5) EnumValue -Enum(arm_fpu) String(vfpv3-fp16) Value(6) +Enum(arm_fpu) String(vfpv3xd-fp16) Value(6) EnumValue -Enum(arm_fpu) String(vfpv3-d16) Value(7) +Enum(arm_fpu) String(neon) Value(7) EnumValue -Enum(arm_fpu) String(vfpv3-d16-fp16) Value(8) +Enum(arm_fpu) String(neon-fp16) Value(8) EnumValue -Enum(arm_fpu) String(vfpv3xd) Value(9) +Enum(arm_fpu) String(vfpv4) Value(9) EnumValue -Enum(arm_fpu) String(vfpv3xd-fp16) Value(10) +Enum(arm_fpu) String(vfpv4-d16) Value(10) EnumValue -Enum(arm_fpu) String(neon) Value(11) +Enum(arm_fpu) String(fpv4-sp-d16) Value(11) EnumValue -Enum(arm_fpu) String(neon-fp16) Value(12) +Enum(arm_fpu) String(neon-vfpv4) Value(12) EnumValue -Enum(arm_fpu) String(vfpv4) Value(13) - -EnumValue -Enum(arm_fpu) String(vfpv4-d16) Value(14) - -EnumValue -Enum(arm_fpu) String(fpv4-sp-d16) Value(15) - -EnumValue -Enum(arm_fpu) String(neon-vfpv4) Value(16) - -EnumValue -Enum(arm_fpu) String(vfp3) Value(17) +Enum(arm_fpu) String(vfp3) Value(13) Index: config/arm/arm.opt =================================================================== --- config/arm/arm.opt (revision 188510) +++ config/arm/arm.opt (working copy) @@ -126,12 +126,6 @@ Enum(float_abi_type) String(softfp) Valu EnumValue Enum(float_abi_type) String(hard) Value(ARM_FLOAT_ABI_HARD) -mfp=2 -Target RejectNegative Undocumented Alias(mfpu=, fpe2) - -mfp=3 -Target RejectNegative Undocumented Alias(mfpu=, fpe3) - mfp16-format= Target RejectNegative Joined Enum(arm_fp16_format_type) Var(arm_fp16_format) Init(ARM_FP16_FORMAT_NONE) Specify the __fp16 floating-point format @@ -149,16 +143,6 @@ Enum(arm_fp16_format_type) String(ieee) EnumValue Enum(arm_fp16_format_type) String(alternative) Value(ARM_FP16_FORMAT_ALTERNATIVE) -;; Now ignored. -mfpe -Target RejectNegative Mask(FPE) Undocumented - -mfpe=2 -Target RejectNegative Undocumented Alias(mfpu=, fpe2) - -mfpe=3 -Target RejectNegative Undocumented Alias(mfpu=, fpe3) - mfpu= Target RejectNegative Joined Enum(arm_fpu) Var(arm_fpu_index) Specify the name of the target floating point hardware/format Index: config/arm/arm-fpus.def =================================================================== --- config/arm/arm-fpus.def (revision 188510) +++ config/arm/arm-fpus.def (working copy) @@ -27,10 +27,6 @@ genopt.sh assumes no whitespace up to the first "," in each entry. */ -ARM_FPU("fpa", ARM_FP_MODEL_FPA, 0, VFP_NONE, false, false) -ARM_FPU("fpe2", ARM_FP_MODEL_FPA, 2, VFP_NONE, false, false) -ARM_FPU("fpe3", ARM_FP_MODEL_FPA, 3, VFP_NONE, false, false) -ARM_FPU("maverick", ARM_FP_MODEL_MAVERICK, 0, VFP_NONE, false, false) ARM_FPU("vfp", ARM_FP_MODEL_VFP, 2, VFP_REG_D16, false, false) ARM_FPU("vfpv3", ARM_FP_MODEL_VFP, 3, VFP_REG_D32, false, false) ARM_FPU("vfpv3-fp16", ARM_FP_MODEL_VFP, 3, VFP_REG_D32, false, true)