Skip to content

Commit 234d6db

Browse files
author
Claudiu Zissulescu
committed
Documentation update
1 parent 9998564 commit 234d6db

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

gcc/ChangeLog.ARC

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2013-06-18 Claudiu Zissulescu <[email protected]>
2+
3+
* doc/extend.texi: Update __builtin_arc_sr description.
4+
* doc/invoke.texi: Update mmul32x16 description.
5+
16
2013-05-28 Claudiu Zissulescu <[email protected]>
27

38
* config/arc/arc.c (%+):New punctuation character.

gcc/doc/extend.texi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9078,12 +9078,12 @@ sleep @var{a}
90789078
@end example
90799079
@end deftypefn
90809080

9081-
@deftypefn {Built-in Function} void __builtin_arc_sr (unsigned int @var{auxr}, unsigned int @var{val})
9082-
The first argument, @var{auxv}, is the address of an auxiliary
9083-
register, the second argument, @var{val}, is a compile time constant
9084-
to be written to the register. Generates:
9081+
@deftypefn {Built-in Function} void __builtin_arc_sr (unsigned int @var{val}, unsigned int @var{auxr})
9082+
Store the 32-bit word held in source operand 1 (@var{val}) into the
9083+
auxiliary register whose address is obtained from the source operand 2
9084+
(@var{auxr}). Generates:
90859085
@example
9086-
sr @var{auxr}, [@var{val}]
9086+
sr @var{val}, [@var{auxr}]
90879087
@end example
90889088
@end deftypefn
90899089

gcc/doc/invoke.texi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11392,7 +11392,8 @@ is equivalent with -mmpy-option=1
1139211392

1139311393
@item -mmul32x16
1139411394
@opindex mmul32x16
11395-
Generate 32x16 bit multiply and mac instructions. Not valid for ARC EM.
11395+
Generate 32x16 bit multiply and mac instructions. Only valid for ARC
11396+
6xx cores.
1139611397

1139711398
@item -mmul64
1139811399
@opindex mmul64

0 commit comments

Comments
 (0)