Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
cee9defb
Commit
cee9defb
authored
Mar 28, 2014
by
Eric Botcazou
Committed by
Eric Botcazou
Mar 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mode-switching.c: Make small adjustments to the top comment.
From-SVN: r208892
parent
066adee8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
gcc/ChangeLog
+4
-0
gcc/mode-switching.c
+5
-5
No files found.
gcc/ChangeLog
View file @
cee9defb
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
...
...
gcc/mode-switching.c
View file @
cee9defb
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment