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
1ddb342a
Commit
1ddb342a
authored
Oct 02, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(record_reg_classes): Skip to next alternative when we skip normal
cost computation. From-SVN: r5561
parent
4d1a011f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
gcc/regclass.c
+7
-2
No files found.
gcc/regclass.c
View file @
1ddb342a
/* Compute register class preferences for pseudo-registers.
Copyright (C) 1987, 1988, 1991, 1992 Free Software Foundation, Inc.
Copyright (C) 1987, 1988, 1991, 1992
, 1993
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -1002,7 +1002,12 @@ record_reg_classes (n_alts, n_ops, ops, modes, constraints, insn)
alt_cost
+=
2
;
/* This is in place of ordinary cost computation
for this operand. */
for this operand, so skip to the end of the
alternative (should be just one character). */
while
(
*
p
&&
*
p
++
!=
','
)
;
constraints
[
i
]
=
p
;
continue
;
}
}
...
...
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