From 3e4907f4fb4d84d9b8426483f213c9b1ad797abd Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Mon, 19 Mar 2012 16:34:29 -0400 Subject: [PATCH] sh.opt (madjust-unroll): Mark as ignored/obsolete. 2012-03-19 Sandra Loosemore 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 | 7 +++++++ gcc/config/sh/sh.h | 2 +- gcc/config/sh/sh.opt | 4 ++-- gcc/doc/invoke.texi | 8 +------- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a2cad37479d..93759117e64 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2012-03-19 Sandra Loosemore + + * 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 * 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 008c6fa0b6f..b11392bab0b 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 de23d5eb0b8..7f7af999299 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 bf821ff97e5..c744cb96192 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. -- 2.30.2