From 037cac8a71747a203df9f25c03e632465514baf5 Mon Sep 17 00:00:00 2001 From: Aaron Sawdey Date: Wed, 11 Apr 2018 15:25:42 +0000 Subject: [PATCH] re PR target/85321 (Missing documentation and option misc for ppc64le) 2018-04-11 Aaron Sawdey PR target/85321 * doc/invoke.texi (RS/6000 and PowerPC Options): Document options -mcall- and -mtraceback=. Remove options -mabi=spe and -mabi=no-spe from PowerPC section. * config/rs6000/sysv4.opt (mcall-): Improve help text. * config/rs6000/rs6000.opt (mblock-compare-inline-limit=): Trim help text that is too long. * config/rs6000/rs6000.opt (mblock-compare-inline-loop-limit=): Trim help text that is too long. * config/rs6000/rs6000.opt (mstring-compare-inline-limit=): Trim help text that is too long. From-SVN: r259324 --- gcc/ChangeLog | 14 ++++++++++++++ gcc/config/rs6000/rs6000.opt | 8 ++++---- gcc/config/rs6000/sysv4.opt | 2 +- gcc/doc/invoke.texi | 20 +++++++++----------- 4 files changed, 28 insertions(+), 16 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 24a2455..ff66dd4b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,17 @@ +2018-04-11 Aaron Sawdey + + PR target/85321 + * doc/invoke.texi (RS/6000 and PowerPC Options): Document options + -mcall- and -mtraceback=. Remove options -mabi=spe and -mabi=no-spe + from PowerPC section. + * config/rs6000/sysv4.opt (mcall-): Improve help text. + * config/rs6000/rs6000.opt (mblock-compare-inline-limit=): Trim + help text that is too long. + * config/rs6000/rs6000.opt (mblock-compare-inline-loop-limit=): Trim + help text that is too long. + * config/rs6000/rs6000.opt (mstring-compare-inline-limit=): Trim + help text that is too long. + 2018-04-11 Uros Bizjak * config/alpha/alpha.md (stack_probe_internal): Rename diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt index 596f3fb..006f16c 100644 --- a/gcc/config/rs6000/rs6000.opt +++ b/gcc/config/rs6000/rs6000.opt @@ -331,19 +331,19 @@ Deprecated option. Use -mvrsave instead. mblock-move-inline-limit= Target Report Var(rs6000_block_move_inline_limit) Init(0) RejectNegative Joined UInteger Save -Specify how many bytes should be moved inline before calling out to memcpy/memmove. +Max number of bytes to move inline. mblock-compare-inline-limit= Target Report Var(rs6000_block_compare_inline_limit) Init(31) RejectNegative Joined UInteger Save -Specify the maximum number of bytes to compare inline with non-looping code. If this is set to 0, all inline expansion (non-loop and loop) of memcmp is disabled. +Max number of bytes to compare without loops. mblock-compare-inline-loop-limit= Target Report Var(rs6000_block_compare_inline_loop_limit) Init(-1) RejectNegative Joined UInteger Save -Specify the maximum number of bytes to compare inline with loop code generation. If the length is not known at compile time, memcmp will be called after this many bytes are compared. By default, a length will be picked depending on the tuning target. +Max number of bytes to compare with loops. mstring-compare-inline-limit= Target Report Var(rs6000_string_compare_inline_limit) Init(8) RejectNegative Joined UInteger Save -Specify the maximum number pairs of load instructions that should be generated inline for the compare. If the number needed exceeds the limit, a call to strncmp will be generated instead. +Max number of pairs of load insns for compare. misel Target Report Mask(ISEL) Var(rs6000_isa_flags) diff --git a/gcc/config/rs6000/sysv4.opt b/gcc/config/rs6000/sysv4.opt index 50be7b1..34fea0d 100644 --- a/gcc/config/rs6000/sysv4.opt +++ b/gcc/config/rs6000/sysv4.opt @@ -21,7 +21,7 @@ mcall- Target RejectNegative Joined Var(rs6000_abi_name) -Select ABI calling convention. +-mcall-ABI Select ABI calling convention. msdata= Target RejectNegative Joined Var(rs6000_sdata_name) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 705cbf7..0194f48 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1076,7 +1076,10 @@ See RS/6000 and PowerPC Options. -mprioritize-restricted-insns=@var{priority} @gol -msched-costly-dep=@var{dependence_type} @gol -minsert-sched-nops=@var{scheme} @gol --mcall-sysv -mcall-netbsd @gol +-mcall-aixdesc -mcall-eabi -mcall-freebsd @gol +-mcall-linux -mcall-netbsd -mcall-openbsd @gol +-mcall-sysv -mcall-sysv-eabi -mcall-sysv-noeabi @gol +-mtraceback=@var{traceback_type} @gol -maix-struct-return -msvr4-struct-return @gol -mabi=@var{abi-type} -msecure-plt -mbss-plt @gol -mblock-move-inline-limit=@var{num} @gol @@ -23957,6 +23960,11 @@ NetBSD operating system. On System V.4 and embedded PowerPC systems compile code for the OpenBSD operating system. +@item -mtraceback=@var{traceback_type} +@opindex mtraceback +Select the type of traceback table. Valid values for @var{traceback_type} +are @samp{full}, @samp{part}, and @samp{no}. + @item -maix-struct-return @opindex maix-struct-return Return all structures in memory (as specified by the AIX ABI)@. @@ -23973,16 +23981,6 @@ Valid values are @samp{altivec}, @samp{no-altivec}, @samp{spe}, @samp{no-spe}, @samp{ibmlongdouble}, @samp{ieeelongdouble}, @samp{elfv1}, @samp{elfv2}@. -@item -mabi=spe -@opindex mabi=spe -Extend the current ABI with SPE ABI extensions. This does not change -the default ABI, instead it adds the SPE ABI extensions to the current -ABI@. - -@item -mabi=no-spe -@opindex mabi=no-spe -Disable Book-E SPE ABI extensions for the current ABI@. - @item -mabi=ibmlongdouble @opindex mabi=ibmlongdouble Change the current ABI to use IBM extended-precision long double. -- 2.7.4