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
eaa48dab
Commit
eaa48dab
authored
Mar 28, 1993
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* genattr.c (main): Output ATTR_FLAG masks.
From-SVN: r3901
parent
8caf703c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
gcc/genattr.c
+12
-1
No files found.
gcc/genattr.c
View file @
eaa48dab
...
...
@@ -305,7 +305,7 @@ from the machine description file `md'. */\n\n");
{
printf
(
"#define DELAY_SLOTS
\n
"
);
printf
(
"extern int num_delay_slots PROTO((rtx));
\n
"
);
printf
(
"extern int eligible_for_delay PROTO((rtx, int, rtx));
\n\n
"
);
printf
(
"extern int eligible_for_delay PROTO((rtx, int, rtx
, int
));
\n\n
"
);
printf
(
"extern int const_num_delay_slots PROTO((rtx));
\n\n
"
);
have_delay
=
1
;
}
...
...
@@ -415,6 +415,17 @@ from the machine description file `md'. */\n\n");
&
all_ready_cost
,
&
all_issue_delay
,
&
all_blockage
);
}
/* Output flag masks for use by reorg.
Flags are used to hold branch direction and prediction information
for use by eligible_for_... */
printf
(
"
\n
#define ATTR_FLAG_forward
\t
0x1
\n
"
);
printf
(
"#define ATTR_FLAG_backward
\t
0x2
\n
"
);
printf
(
"#define ATTR_FLAG_likely
\t
0x4
\n
"
);
printf
(
"#define ATTR_FLAG_very_likely
\t
0x8
\n
"
);
printf
(
"#define ATTR_FLAG_unlikely
\t
0x10
\n
"
);
printf
(
"#define ATTR_FLAG_very_unlikely
\t
0x20
\n
"
);
fflush
(
stdout
);
exit
(
ferror
(
stdout
)
!=
0
?
FATAL_EXIT_CODE
:
SUCCESS_EXIT_CODE
);
/* NOTREACHED */
...
...
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