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
bfe3c361
Commit
bfe3c361
authored
Oct 12, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(final_scan_insn): Call walk_alter_subreg for operands that are PLUS
or MULT, before constrain_operands. From-SVN: r5743
parent
775ba35d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
gcc/final.c
+7
-0
No files found.
gcc/final.c
View file @
bfe3c361
...
...
@@ -105,6 +105,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
rtx
peephole
();
void
output_asm_insn
();
rtx
alter_subreg
();
static
rtx
walk_alter_subreg
();
static
int
alter_cond
();
void
output_asm_label
();
static
void
output_operand
();
...
...
@@ -1895,12 +1896,18 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
{
if
(
GET_CODE
(
recog_operand
[
i
])
==
SUBREG
)
recog_operand
[
i
]
=
alter_subreg
(
recog_operand
[
i
]);
else
if
(
GET_CODE
(
recog_operand
[
i
])
==
PLUS
||
GET_CODE
(
recog_operand
[
i
])
==
MULT
)
recog_operand
[
i
]
=
walk_alter_subreg
(
recog_operand
[
i
]);
}
for
(
i
=
0
;
i
<
insn_n_dups
[
insn_code_number
];
i
++
)
{
if
(
GET_CODE
(
*
recog_dup_loc
[
i
])
==
SUBREG
)
*
recog_dup_loc
[
i
]
=
alter_subreg
(
*
recog_dup_loc
[
i
]);
else
if
(
GET_CODE
(
*
recog_dup_loc
[
i
])
==
PLUS
||
GET_CODE
(
*
recog_dup_loc
[
i
])
==
MULT
)
*
recog_dup_loc
[
i
]
=
walk_alter_subreg
(
*
recog_dup_loc
[
i
]);
}
#ifdef REGISTER_CONSTRAINTS
...
...
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