[doc] NDS32: Add -mext-perf -mext-perf2 and -mext-string in the documentation

Message ID f2aab0fb-ca32-0b54-593c-ce537d5aeb17@gmail.com
State New
Headers show
Series
  • [doc] NDS32: Add -mext-perf -mext-perf2 and -mext-string in the documentation
Related show

Commit Message

Chung-Ju Wu Jan. 16, 2018, 3:13 a.m.
Hi, all,

In this patch of nds32 port:
https://gcc.gnu.org/ml/gcc-patches/2017-11/msg01585.html

We add new options for NDS32 target.
So we need to update documentation as well.
The patch is attached and the plaintext ChangeLog is as follow:

gcc/ChangeLog

	* doc/invoke.texi (NDS32 Options): Add -mext-perf, -mext-perf2 and
	-mext-string options.


Committed as https://gcc.gnu.org/r256564

I will also cover these changes in the release notes at
htdocs/gcc-8/changes.html with another wwwdoc patch soon.

Best regards,
jasonwucj
From 8b225b1b3f3b425ea180ba4a932e4201a95903c0 Mon Sep 17 00:00:00 2001
From: Chung-Ju Wu <jasonwucj@gmail.com>

Date: Fri, 10 Nov 2017 11:42:00 +0800
Subject: [PATCH] Add new nds32 options "-mext-perf", "-mext-perf2", and
 "-mext-string" in the documentation.

---
 gcc/doc/invoke.texi | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

-- 
1.8.3.1

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index c443c66..a9449a8 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -941,7 +941,9 @@  Objective-C and Objective-C++ Dialects}.
 @gccoptlist{-mbig-endian  -mlittle-endian @gol
 -mreduced-regs  -mfull-regs @gol
 -mcmov  -mno-cmov @gol
--mperf-ext  -mno-perf-ext @gol
+-mext-perf  -mno-ext-perf @gol
+-mext-perf2  -mno-ext-perf2 @gol
+-mext-string  -mno-ext-string @gol
 -mv3push  -mno-v3push @gol
 -m16bit  -mno-16bit @gol
 -misr-vector-size=@var{num} @gol
@@ -21304,14 +21306,30 @@  Generate conditional move instructions.
 @opindex mno-cmov
 Do not generate conditional move instructions.
 
-@item -mperf-ext
+@item -mext-perf
 @opindex mperf-ext
 Generate performance extension instructions.
 
-@item -mno-perf-ext
+@item -mno-ext-perf
 @opindex mno-perf-ext
 Do not generate performance extension instructions.
 
+@item -mext-perf2
+@opindex mperf-ext
+Generate performance extension 2 instructions.
+
+@item -mno-ext-perf2
+@opindex mno-perf-ext
+Do not generate performance extension 2 instructions.
+
+@item -mext-string
+@opindex mperf-ext
+Generate string extension instructions.
+
+@item -mno-ext-string
+@opindex mno-perf-ext
+Do not generate string extension instructions.
+
 @item -mv3push
 @opindex mv3push
 Generate v3 push25/pop25 instructions.