From patchwork Thu Nov 26 14:01:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 549114 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 351501402EC for ; Fri, 27 Nov 2015 01:05:21 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=mPRokjBT; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=TraszBz81L7jHrpJuRhAfodNthaEPhtLSz9hWMcF9QM5erVAXt 5bqipTp7JVjb9m1hIyzgMogpm2Jf0IcKQp08uG23FW7f+9Jb8tT8YSihMZCi1eaW Rq5TUPx25CGCY+SJvhapK5hCKikSVCHq5cUuAbPrCzDzET33CHogrtOew= 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:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=J1n9QT0qPzMksZJgrJgQzs3bv3I=; b=mPRokjBTceg3a+Cya4I5 xWHLtIIDSgBxxBcznTWeevUXqJV8NO8fp3+iGL48OOk+5LPFyn+J33Sgosxdk7SZ zKmfl2dFCWZDnBfMmwFHY+oBDYYDjWx/AHKrJYGSXCpaGoxf17pLIepjP/NG7GsN QMYnGC3lN+xKPH1GyHtENFg= Received: (qmail 23554 invoked by alias); 26 Nov 2015 14:05:14 -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 23542 invoked by uid 89); 26 Nov 2015 14:05:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Nov 2015 14:05:12 +0000 Received: from hhmail02.hh.imgtec.org (unknown [10.100.10.20]) by Websense Email Security Gateway with ESMTPS id 9074CF6E2CAFA; Thu, 26 Nov 2015 14:05:06 +0000 (GMT) Received: from [10.100.200.187] (10.100.200.187) by hhmail02.hh.imgtec.org (10.100.10.20) with Microsoft SMTP Server id 14.3.235.1; Thu, 26 Nov 2015 14:05:08 +0000 Date: Thu, 26 Nov 2015 14:01:13 +0000 From: "Maciej W. Rozycki" To: CC: Catherine Moore , Matthew Fortune Subject: [PATCH] MIPS/GCC/doc: Reorder `-mcompact-branches=' Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Move the `-mcompact-branches=' option out of the middle of a block of floating-point options. The option is not related to FP in any way. Place it immediately below other branch instruction selection options. gcc/ * doc/invoke.texi (Option Summary) : Reorder `-mcompact-branches='. (MIPS Options): Likewise. --- OK to apply? Maciej gcc-mips-compact-branches-doc-fix.diff Index: gcc/gcc/doc/invoke.texi =================================================================== --- gcc.orig/gcc/doc/invoke.texi 2015-11-23 21:02:46.594781253 +0000 +++ gcc/gcc/doc/invoke.texi 2015-11-23 23:12:45.009558919 +0000 @@ -793,7 +793,6 @@ Objective-C and Objective-C++ Dialects}. -mgp32 -mgp64 -mfp32 -mfpxx -mfp64 -mhard-float -msoft-float @gol -mno-float -msingle-float -mdouble-float @gol -modd-spreg -mno-odd-spreg @gol --mcompact-branches=@var{policy} @gol -mabs=@var{mode} -mnan=@var{encoding} @gol -mdsp -mno-dsp -mdspr2 -mno-dspr2 @gol -mmcu -mmno-mcu @gol @@ -824,6 +823,7 @@ Objective-C and Objective-C++ Dialects}. -mfix-vr4130 -mno-fix-vr4130 -mfix-sb1 -mno-fix-sb1 @gol -mflush-func=@var{func} -mno-flush-func @gol -mbranch-cost=@var{num} -mbranch-likely -mno-branch-likely @gol +-mcompact-branches=@var{policy} @gol -mfp-exceptions -mno-fp-exceptions @gol -mvr4130-align -mno-vr4130-align -msynci -mno-synci @gol -mrelax-pic-calls -mno-relax-pic-calls -mmcount-ra-address @gol @@ -17602,30 +17602,6 @@ for the o32 ABI. This is the default fo support these registers. When using the o32 FPXX ABI, @option{-mno-odd-spreg} is set by default. -@item -mcompact-branches=never -@itemx -mcompact-branches=optimal -@itemx -mcompact-branches=always -@opindex mcompact-branches=never -@opindex mcompact-branches=optimal -@opindex mcompact-branches=always -These options control which form of branches will be generated. The -default is @option{-mcompact-branches=optimal}. - -The @option{-mcompact-branches=never} option ensures that compact branch -instructions will never be generated. - -The @option{-mcompact-branches=always} option ensures that a compact -branch instruction will be generated if available. If a compact branch -instruction is not available, a delay slot form of the branch will be -used instead. - -This option is supported from MIPS Release 6 onwards. - -The @option{-mcompact-branches=optimal} option will cause a delay slot -branch to be used if one is available in the current ISA and the delay -slot is successfully filled. If the delay slot is not filled, a compact -branch will be chosen if one is available. - @item -mabs=2008 @itemx -mabs=legacy @opindex mabs=2008 @@ -18189,6 +18165,30 @@ and processors that implement those arch Likely instructions are not be generated by default because the MIPS32 and MIPS64 architectures specifically deprecate their use. +@item -mcompact-branches=never +@itemx -mcompact-branches=optimal +@itemx -mcompact-branches=always +@opindex mcompact-branches=never +@opindex mcompact-branches=optimal +@opindex mcompact-branches=always +These options control which form of branches will be generated. The +default is @option{-mcompact-branches=optimal}. + +The @option{-mcompact-branches=never} option ensures that compact branch +instructions will never be generated. + +The @option{-mcompact-branches=always} option ensures that a compact +branch instruction will be generated if available. If a compact branch +instruction is not available, a delay slot form of the branch will be +used instead. + +This option is supported from MIPS Release 6 onwards. + +The @option{-mcompact-branches=optimal} option will cause a delay slot +branch to be used if one is available in the current ISA and the delay +slot is successfully filled. If the delay slot is not filled, a compact +branch will be chosen if one is available. + @item -mfp-exceptions @itemx -mno-fp-exceptions @opindex mfp-exceptions