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
0548a9df
Commit
0548a9df
authored
Aug 08, 2000
by
Richard Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
From-SVN: r35566
parent
db2e2f48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
gcc/regclass.c
+5
-3
No files found.
gcc/regclass.c
View file @
0548a9df
...
@@ -618,9 +618,11 @@ choose_hard_reg_mode (regno, nregs)
...
@@ -618,9 +618,11 @@ choose_hard_reg_mode (regno, nregs)
if
(
found_mode
!=
VOIDmode
)
if
(
found_mode
!=
VOIDmode
)
return
found_mode
;
return
found_mode
;
if
(
HARD_REGNO_NREGS
(
regno
,
CCmode
)
==
nregs
/* Iterate over all of the CCmodes. */
&&
HARD_REGNO_MODE_OK
(
regno
,
CCmode
))
for
(
mode
=
CCmode
;
mode
<
NUM_MACHINE_MODES
;
++
mode
)
return
CCmode
;
if
(
HARD_REGNO_NREGS
(
regno
,
mode
)
==
nregs
&&
HARD_REGNO_MODE_OK
(
regno
,
mode
))
return
mode
;
/* We can't find a mode valid for this register. */
/* We can't find a mode valid for this register. */
return
VOIDmode
;
return
VOIDmode
;
...
...
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