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
5b177046
Commit
5b177046
authored
Aug 28, 1992
by
Tom Wood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(ADJUST_COST): Add definition.
From-SVN: r1985
parent
664921b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
gcc/config/m88k/m88k.h
+19
-2
No files found.
gcc/config/m88k/m88k.h
View file @
5b177046
...
...
@@ -206,9 +206,9 @@ extern char * reg_names[];
/* Print subsidiary information on the compiler version in use.
Redefined in m88kv4.h, and m88kluna.h. */
#define VERSION_INFO1 "88open OCS/BCS, "
#define VERSION_INFO2 "08/
05
/92"
#define VERSION_INFO2 "08/
28
/92"
#define VERSION_STRING version_string
#define TM_SCCS_ID "@(#)m88k.h 2.2.7.
5 08/05/92 13:10:08
"
#define TM_SCCS_ID "@(#)m88k.h 2.2.7.
6 08/28/92 07:51:00
"
/* Run-time compilation parameters selecting different hardware subsets. */
...
...
@@ -1552,6 +1552,23 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS,
/* Provide the cost of a branch. Exact meaning under development. */
#define BRANCH_COST (TARGET_88100 ? 1 : 2)
/* A C statement (sans semicolon) to update the integer variable COST
based on the relationship between INSN that is dependent on
DEP_INSN through the dependence LINK. The default is to make no
adjustment to COST. On the m88k, ignore the cost of anti- and
output-dependencies. On the m88100, a store can issue two cycles
before the value (not the address) has finished computing. */
#define ADJUST_COST(INSN,LINK,DEP_INSN,COST) \
do { \
if (REG_NOTE_KIND (LINK) != 0) \
(COST) = 0;
/* Anti or output dependence. */
\
else if (! TARGET_88100 \
&& recog_memoized (INSN) >= 0 \
&& get_attr_type (INSN) == TYPE_STORE \
&& SET_SRC (PATTERN (INSN)) == SET_DEST (PATTERN (DEP_INSN))) \
(COST) -= 4;
/* 88110 store reservation station. */
\
} while (0)
/* Define this to be nonzero if the character `$' should be allowed
by default in identifier names. */
#define DOLLARS_IN_IDENTIFIERS 1
...
...
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