@@ -489,7 +489,7 @@ Objective-C and Objective-C++ Dialects}.
489489-mcpu=@var{cpu} -mA6 -mARC600 -mA7 -mARC700 -mEM -mARCv2EM -mav2em @gol
490490-mav2hs -mHS -mARCv2HS -matomic -mfpu=@var{fpu} -mll64 @gol
491491-mdiv-rem -mdpfp -mdpfp-compact -mdpfp-fast -mno-dpfp-lrsr -mea @gol
492- -mforce-short - mmpy -mmpy-option=@var{multo} -mmpy16 -mmul32x16 -mmul64 @gol
492+ -mmpy -mmpy-option=@var{multo} -mmpy16 -mmul32x16 -mmul64 @gol
493493-mnorm -mspfp -mspfp-compact -mspfp-fast -msimd -msoft-float -mswap @gol
494494-mdsp-packa -mdvbf -mlock -mmac-d16 -mmac-24 -mrtsc -mswape @gol
495495-mtelephony -mxy -misize -mannotate-align -marclinux -marclinux_prof @gol
@@ -11177,11 +11177,11 @@ is being compiled:
1117711177@item -mbarrel-shifter
1117811178@opindex mbarrel-shifter
1117911179Generate instructions supported by barrel shifter. This is the default
11180- unless @samp{-mcpu=ARC601} is in effect.
11180+ unless @samp{-mcpu=ARC601} or @samp{-mcpu=ARCv2EM} is in effect.
1118111181
1118211182@item -mcode-density
1118311183@opindex mcode-density
11184- Enable code density instructions for ARC EM.
11184+ Enable code density instructions for ARC EM, default on for ARC HS .
1118511185
1118611186@item -mcpu=@var{cpu}
1118711187@opindex mcpu
@@ -11226,8 +11226,7 @@ the tool chain is configured with @samp{--with-cpu=HS}@.
1122611226
1122711227@item -mdiv-rem
1122811228@opindex mdiv-rem
11229- Enable DIV/REM instructions for ARC EM. Only available when the
11230- tool chain is configured with @samp{--with-cpu=EM}@.
11229+ Enable DIV/REM instructions for ARCv2 cores@.
1123111230
1123211231@item -mfpu=@var{fpu}
1123311232@opindex mfpu
@@ -11302,14 +11301,7 @@ Disable LR and SR instructions from using FPX extension aux registers.
1130211301Generate Extended arithmetic instructions. Currently only
1130311302@code{divaw}, @code{adds}, @code{subs}, and @code{sat16} are
1130411303supported. This is always enabled for @samp{-mcpu=ARC700} and not
11305- available when the tool chain is configured with
11306- @samp{--with-cpu=EM}@.
11307-
11308- @item -mforce-short
11309- @opindex mforce-short
11310- Force short suffix by ignoring the instruction length attribute. This
11311- is the default when GCC is configured using @samp{--with-cpu=EM}, and
11312- is otherwise not available as an option.
11304+ available for ARCv2 cores@.
1131311305
1131411306@item -mmpy
1131511307@opindex mmpy
@@ -11318,8 +11310,8 @@ multiply instructions for ARC 700, and ARCv2 variants.
1131811310
1131911311@item -mmpy-option=@var{multo}
1132011312@opindex mmpy-option
11321- Compile ARC EM code with a multiplier design option. @samp{wlh1} is
11322- the default value. The recognized values for @var{multo} are:
11313+ Compile ARCv2 code with a multiplier design option. @samp{wlh1} is the
11314+ default value. The recognized values for @var{multo} are:
1132311315
1132411316@table @samp
1132511317@item 0
@@ -11366,20 +11358,21 @@ MPYU, MPYM, MPYMU, and MPY_S.
1136611358The multiply option is set to accept short vector extensions (i.e., 32
1136711359bit vectors). The following instructions are additionaly enabled: MAC,
1136811360MACU, DMPYH, DMPYHU, DMACH, DMACHU, VADD2H, VSUB2H, VADDSUB2H, and
11369- VSUBADD2H.
11361+ VSUBADD2H. Not available for ARC EM.
1137011362
1137111363@item 8
1137211364@itemx double MAC
1137311365The multiply option is set to accept short vector extensions, and
1137411366double MAC operations. The following instructions are additionaly
11375- enabled: MPYD, MPYDU, MACD, MACDU, VMPY2H, and VMPY2HU.
11367+ enabled: MPYD, MPYDU, MACD, MACDU, VMPY2H, and VMPY2HU. Not available
11368+ for ARC EM.
1137611369
1137711370@item 9
1137811371@itemx 64 bit
1137911372The multiply option is set to accept 64 bit operations. The following
1138011373instructions are additionaly enabled: QMPYH, QMPYHU, DMPYWH, DMPYWHU,
1138111374QMACH, QMACHU, DMACWH, DMACWHU, VADD4H, VSUB4H, VADDSUB4H, VSUBADD4H,
11382- VADD2, VSUB2, VADDSUB, and VSUBADD.
11375+ VADD2, VSUB2, VADDSUB, and VSUBADD. Not available for ARC EM.
1138311376
1138411377@end table
1138511378
@@ -11402,7 +11395,7 @@ Generate mul64 and mulu64 instructions. Only valid for @samp{-mcpu=ARC600}.
1140211395@item -mnorm
1140311396@opindex mnorm
1140411397Generate norm instruction. This is the default if @samp{-mcpu=ARC700}
11405- is in effect.
11398+ or @samp{-mcpu=ARCv2HS} is in effect.
1140611399
1140711400@item -mspfp
1140811401@opindex mspfp
@@ -11431,16 +11424,18 @@ can overridden by FPX options; @samp{mspfp}, @samp{mspfp-compact}, or
1143111424
1143211425@item -mswap
1143311426@opindex mswap
11434- Generate swap instructions.
11427+ Generate swap instructions, default on for ARC HS .
1143511428
1143611429@item -matomic
1143711430@opindex matomic
1143811431This enables Locked Load/Store Conditional extension, and to use them
11439- for implementing the GCC's atomic builtins.
11432+ for implementing the GCC's atomic builtins. Not available for ARC 6xx
11433+ cores.
1144011434
1144111435@item -mll64
1144211436@opindex mll64
11443- This enables 64-bit load/store extension.
11437+ This enables 64-bit load/store extension. Only available for ARC HS
11438+ cores.
1144411439
1144511440@end table
1144611441
0 commit comments