From: Eric Botcazou Date: Fri, 28 Mar 2014 10:20:41 +0000 (+0000) Subject: * mode-switching.c: Make small adjustments to the top comment. X-Git-Tag: releases/gcc-4.9.0~259 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cee9defb69f4c2452cad61df1e6e871960a612ed;p=thirdparty%2Fgcc.git * mode-switching.c: Make small adjustments to the top comment. From-SVN: r208892 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cedc30cfe031..faca258b23e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-03-28 Eric Botcazou + + * mode-switching.c: Make small adjustments to the top comment. + 2014-03-27 Michael Meissner * config/rs6000/constraints.md (wD constraint): New constraint to diff --git a/gcc/mode-switching.c b/gcc/mode-switching.c index 88543b2f9781..316653973a46 100644 --- a/gcc/mode-switching.c +++ b/gcc/mode-switching.c @@ -45,20 +45,20 @@ along with GCC; see the file COPYING3. If not see and finding all the insns which require a specific mode. Each insn gets a unique struct seginfo element. These structures are inserted into a list for each basic block. For each entity, there is an array of bb_info over - the flow graph basic blocks (local var 'bb_info'), and contains a list + the flow graph basic blocks (local var 'bb_info'), which contains a list of all insns within that basic block, in the order they are encountered. For each entity, any basic block WITHOUT any insns requiring a specific - mode are given a single entry, without a mode. (Each basic block - in the flow graph must have at least one entry in the segment table.) + mode are given a single entry without a mode (each basic block in the + flow graph must have at least one entry in the segment table). The LCM algorithm is then run over the flow graph to determine where to - place the sets to the highest-priority value in respect of first the first + place the sets to the highest-priority mode with respect to the first insn in any one block. Any adjustments required to the transparency vectors are made, then the next iteration starts for the next-lower priority mode, till for each entity all modes are exhausted. - More details are located in the code for optimize_mode_switching(). */ + More details can be found in the code of optimize_mode_switching. */ /* This structure contains the information for each insn which requires either single or double mode to be set.