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
cc4c133a
Commit
cc4c133a
authored
Nov 03, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(regclass): Consider commutativity even when
one arg is a constant. From-SVN: r5985
parent
937aa51b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
gcc/regclass.c
+3
-5
No files found.
gcc/regclass.c
View file @
cc4c133a
...
@@ -757,13 +757,11 @@ regclass (f, nregs)
...
@@ -757,13 +757,11 @@ regclass (f, nregs)
}
}
/* Check for commutative in a separate loop so everything will
/* Check for commutative in a separate loop so everything will
have been initialized. Don't bother doing anything if the
have been initialized. We must do this even if one operand
second operand is a constant since that is the case
is a constant--see addsi3 in m68k.md. */
for which the constraints should have been written. */
for
(
i
=
0
;
i
<
noperands
-
1
;
i
++
)
for
(
i
=
0
;
i
<
noperands
-
1
;
i
++
)
if
(
constraints
[
i
][
0
]
==
'%'
if
(
constraints
[
i
][
0
]
==
'%'
)
&&
!
CONSTANT_P
(
recog_operand
[
i
+
1
]))
{
{
char
*
xconstraints
[
MAX_RECOG_OPERANDS
];
char
*
xconstraints
[
MAX_RECOG_OPERANDS
];
int
j
;
int
j
;
...
...
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