sh.opt (madjust-unroll): Mark as ignored/obsolete.
authorSandra Loosemore <sandra@codesourcery.com>
Mon, 19 Mar 2012 20:34:29 +0000 (16:34 -0400)
committerSandra Loosemore <sandra@gcc.gnu.org>
Mon, 19 Mar 2012 20:34:29 +0000 (16:34 -0400)
2012-03-19  Sandra Loosemore  <sandra@codesourcery.com>

gcc/
* config/sh/sh.opt (madjust-unroll): Mark as ignored/obsolete.
* config/sh/sh.h (TARGET_OPT_DEFAULT): Don't use MASK_ADJUST_UNROLL.
* doc/invoke.texi (Option Summary): Remove -madjust-unroll.
(SH Options): Likewise.

From-SVN: r185540

gcc/ChangeLog
gcc/config/sh/sh.h
gcc/config/sh/sh.opt
gcc/doc/invoke.texi

index a2cad37479d41e8a7512cb302c06c74f73163097..93759117e64f974d2353d8e9bdb4ca79c4cac372 100644 (file)
@@ -1,3 +1,10 @@
+2012-03-19  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * config/sh/sh.opt (madjust-unroll): Mark as ignored/obsolete.
+       * config/sh/sh.h (TARGET_OPT_DEFAULT): Don't use MASK_ADJUST_UNROLL.
+       * doc/invoke.texi (Option Summary): Remove -madjust-unroll.
+       (SH Options): Likewise.
+
 2012-03-19  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.c (get_thread_pointer): Add tp_mode argument.
index 008c6fa0b6f22e25cebd232359a19f47a0dbf7b3..b11392bab0b48a562aa2f398c64861145588d517 100644 (file)
@@ -290,7 +290,7 @@ do { \
 #endif
 
 #ifndef TARGET_OPT_DEFAULT
-#define TARGET_OPT_DEFAULT  MASK_ADJUST_UNROLL
+#define TARGET_OPT_DEFAULT  0
 #endif
 
 #define TARGET_DEFAULT \
index de23d5eb0b80484dbe09967b4f7246e5d7371fb3..7f7af999299040f0c67caf5640c35c9e73589353 100644 (file)
@@ -206,8 +206,8 @@ Target Report Mask(ACCUMULATE_OUTGOING_ARGS)
 Reserve space for outgoing arguments in the function prologue
 
 madjust-unroll
-Target Report Mask(ADJUST_UNROLL) Condition(SUPPORT_ANY_SH5)
-Throttle unrolling to avoid thrashing target registers unless the unroll benefit outweighs this
+Target Ignore
+Does nothing.  Preserved for backward compatibility.
 
 mb
 Target Report RejectNegative InverseMask(LITTLE_ENDIAN)
index bf821ff97e5bb8f52af296d4d0010b1374e156c8..c744cb961929f9b528f98eb6f4f7fdb6e7c35e9b 100644 (file)
@@ -881,7 +881,7 @@ See RS/6000 and PowerPC Options.
 -mieee  -mbitops  -misize  -minline-ic_invalidate -mpadstruct  -mspace @gol
 -mprefergot  -musermode -multcost=@var{number} -mdiv=@var{strategy} @gol
 -mdivsi3_libfunc=@var{name} -mfixed-range=@var{register-range} @gol
--madjust-unroll -mindexed-addressing -mgettrcost=@var{number} -mpt-fixed @gol
+-mindexed-addressing -mgettrcost=@var{number} -mpt-fixed @gol
 -maccumulate-outgoing-args -minvalid-symbols -msoft-atomic @gol
 -mbranch-cost=@var{num} -mcbranchdi -mcmpeqdi -mfused-madd -mpretend-cmove @gol
 -menable-tas}
@@ -18104,12 +18104,6 @@ useful when compiling kernel code.  A register range is specified as
 two registers separated by a dash.  Multiple register ranges can be
 specified separated by a comma.
 
-@item -madjust-unroll
-@opindex madjust-unroll
-Throttle unrolling to avoid thrashing target registers.
-This option only has an effect if the GCC code base supports the
-TARGET_ADJUST_UNROLL_MAX target hook.
-
 @item -mindexed-addressing
 @opindex mindexed-addressing
 Enable the use of the indexed addressing mode for SHmedia32/SHcompact.