aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@synopsys.com>2021-05-10 09:03:41 +0300
committerClaudiu Zissulescu <claziss@synopsys.com>2021-05-10 09:32:38 +0300
commit56ab318214ef21e6c2a1b5e420e418e188386f04 (patch)
tree395613e5242c7bb64621f9955c5eb8beeb7c58d4 /gcc
parent6c9071c089c31eddc4ac80e0488bb9d37f9e11f1 (diff)
downloadgcc-56ab318214ef21e6c2a1b5e420e418e188386f04.zip
gcc-56ab318214ef21e6c2a1b5e420e418e188386f04.tar.gz
gcc-56ab318214ef21e6c2a1b5e420e418e188386f04.tar.bz2
arc: Fix documentation __builtin_arc_sr
The arguments of __builtin_arc_sr are swapped in documentation. Fix it. gcc/ 2021-05-10 Claudiu Zissulescu <claziss@synopsys.com> * doc/extend.texi (__builtin_arc_sr): Swap arguments. Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/extend.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index fd9175d..826804e 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -14709,12 +14709,12 @@ sleep @var{a}
@end example
@end deftypefn
-@deftypefn {Built-in Function} void __builtin_arc_sr (unsigned int @var{auxr}, unsigned int @var{val})
-The first argument, @var{auxv}, is the address of an auxiliary
-register, the second argument, @var{val}, is a compile time constant
-to be written to the register. Generates:
+@deftypefn {Built-in Function} void __builtin_arc_sr (unsigned int @var{val}, unsigned int @var{auxr})
+The first argument, @var{val}, is a compile time constant to be
+written to the register, the second argument, @var{auxr}, is the
+address of an auxiliary register. Generates:
@example
-sr @var{auxr}, [@var{val}]
+sr @var{val}, [@var{auxr}]
@end example
@end deftypefn