aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2012-03-19 16:34:29 -0400
committerSandra Loosemore <sandra@gcc.gnu.org>2012-03-19 16:34:29 -0400
commit3e4907f4fb4d84d9b8426483f213c9b1ad797abd (patch)
tree9a49a795e28a0c0df78c3f4c716c2004774a99d0 /gcc
parentedd8bb126d91c1ed59cd4b41d1f2fe209005e870 (diff)
downloadgcc-3e4907f4fb4d84d9b8426483f213c9b1ad797abd.zip
gcc-3e4907f4fb4d84d9b8426483f213c9b1ad797abd.tar.gz
gcc-3e4907f4fb4d84d9b8426483f213c9b1ad797abd.tar.bz2
sh.opt (madjust-unroll): Mark as ignored/obsolete.
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/sh/sh.h2
-rw-r--r--gcc/config/sh/sh.opt4
-rw-r--r--gcc/doc/invoke.texi8
4 files changed, 11 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a2cad37..9375911 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index 008c6fa..b11392b 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -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 \
diff --git a/gcc/config/sh/sh.opt b/gcc/config/sh/sh.opt
index de23d5e..7f7af99 100644
--- a/gcc/config/sh/sh.opt
+++ b/gcc/config/sh/sh.opt
@@ -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)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index bf821ff..c744cb9 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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.