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
cc38a1c3
Commit
cc38a1c3
authored
Nov 15, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(main): Use loop, not bcopy, to set recog_operands from an rtvec.
From-SVN: r13171
parent
ec743e55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
gcc/genextract.c
+3
-5
No files found.
gcc/genextract.c
View file @
cc38a1c3
...
...
@@ -455,6 +455,7 @@ from the machine description file `md'. */\n\n");
printf
(
" register rtx *ro = recog_operand;
\n
"
);
printf
(
" register rtx **ro_loc = recog_operand_loc;
\n
"
);
printf
(
" rtx pat = PATTERN (insn);
\n
"
);
printf
(
" int i;
\n\n
"
);
printf
(
" switch (INSN_CODE (insn))
\n
"
);
printf
(
" {
\n
"
);
printf
(
" case -1:
\n
"
);
...
...
@@ -502,11 +503,8 @@ from the machine description file `md'. */\n\n");
/* The vector in the insn says how many operands it has.
And all it contains are operands. In fact, the vector was
created just for the sake of this function. */
printf
(
"#if __GNUC__ > 1 && !defined (bcopy)
\n
"
);
printf
(
"#define bcopy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT)
\n
"
);
printf
(
"#endif
\n
"
);
printf
(
" bcopy (&XVECEXP (pat, 0, 0), ro,
\n
"
);
printf
(
" sizeof (rtx) * XVECLEN (pat, 0));
\n
"
);
printf
(
" for (i = XVECLEN (pat, 0); i >= 0; i--)
\n
"
);
printf
(
" ro[i] = XVECEXP (pat, 0, i);
\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