Commit cee9defb by Eric Botcazou Committed by Eric Botcazou

* mode-switching.c: Make small adjustments to the top comment.

From-SVN: r208892
parent 066adee8
2014-03-28 Eric Botcazou <ebotcazou@adacore.com>
* mode-switching.c: Make small adjustments to the top comment.
2014-03-27 Michael Meissner <meissner@linux.vnet.ibm.com> 2014-03-27 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/constraints.md (wD constraint): New constraint to * config/rs6000/constraints.md (wD constraint): New constraint to
......
...@@ -45,20 +45,20 @@ along with GCC; see the file COPYING3. If not see ...@@ -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 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 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 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. 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 For each entity, any basic block WITHOUT any insns requiring a specific
mode are given a single entry, without a mode. (Each basic block mode are given a single entry without a mode (each basic block in the
in the flow graph must have at least one entry in the segment table.) 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 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 insn in any one block. Any adjustments required to the transparency
vectors are made, then the next iteration starts for the next-lower vectors are made, then the next iteration starts for the next-lower
priority mode, till for each entity all modes are exhausted. 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 /* This structure contains the information for each insn which requires
either single or double mode to be set. either single or double mode to be set.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment