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
2dbbe435
Commit
2dbbe435
authored
Nov 24, 2001
by
Hans-Peter Nilsson
Committed by
Hans-Peter Nilsson
Nov 24, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* genextract.c (main): Set ro_loc for peepholes.
From-SVN: r47308
parent
e1c12209
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
gcc/ChangeLog
+4
-0
gcc/genextract.c
+4
-2
No files found.
gcc/ChangeLog
View file @
2dbbe435
2001
-
11
-
24
Hans
-
Peter
Nilsson
<
hp
@axis
.
com
>
*
genextract
.
c
(
main
)
:
Set
ro_loc
for
peepholes
.
Sat
Nov
24
17
:
04
:
10
2001
Douglas
B
.
Rupp
<
rupp
@gnat
.
com
>
Sat
Nov
24
17
:
04
:
10
2001
Douglas
B
.
Rupp
<
rupp
@gnat
.
com
>
*
fix
-
header
.
c
(
main
)
:
Move
inf_buffer
termination
and
inf_limit
*
fix
-
header
.
c
(
main
)
:
Move
inf_buffer
termination
and
inf_limit
...
...
gcc/genextract.c
View file @
2dbbe435
...
@@ -434,9 +434,11 @@ from the machine description file `md'. */\n\n");
...
@@ -434,9 +434,11 @@ from the machine description file `md'. */\n\n");
/* The vector in the insn says how many operands it has.
/* The vector in the insn says how many operands it has.
And all it contains are operands. In fact, the vector was
And all it contains are operands. In fact, the vector was
created just for the sake of this function. */
created just for the sake of this function. We need to set the
location of the operands for sake of simplifications after
extraction, like eliminating subregs. */
printf
(
" for (i = XVECLEN (pat, 0) - 1; i >= 0; i--)
\n
"
);
printf
(
" for (i = XVECLEN (pat, 0) - 1; i >= 0; i--)
\n
"
);
printf
(
" ro[i] =
XVECEXP (pat, 0, i
);
\n
"
);
printf
(
" ro[i] =
*(ro_loc[i] = &XVECEXP (pat, 0, i)
);
\n
"
);
printf
(
" break;
\n\n
"
);
printf
(
" break;
\n\n
"
);
}
}
...
...
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