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
ec4c28e5
Commit
ec4c28e5
authored
May 21, 1999
by
J"orn Rennecke
Committed by
Joern Rennecke
May 21, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* sh.h (BRANCH_COST): Define.
From-SVN: r27081
parent
ef637255
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
gcc/ChangeLog
+4
-0
gcc/config/sh/sh.h
+8
-1
No files found.
gcc/ChangeLog
View file @
ec4c28e5
Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.h (BRANCH_COST): Define.
Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
* Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
...
...
gcc/config/sh/sh.h
View file @
ec4c28e5
...
...
@@ -1701,8 +1701,15 @@ extern struct rtx_def *sh_builtin_saveregs ();
: 2)
/* ??? Perhaps make MEMORY_MOVE_COST depend on compiler option? This
would be so that people w
ould
slow memory systems could generate
would be so that people w
ith
slow memory systems could generate
different code that does fewer memory accesses. */
/* A C expression for the cost of a branch instruction. A value of 1
is the default; other values are interpreted relative to that.
The SH1 does not have delay slots, hence we get a pipeline stall
at every branch. The SH4 is superscalar, so the single delay slot
in not sufficient to keep both pipelines filled. */
#define BRANCH_COST (! TARGET_SH2 || TARGET_HARD_SH4 ? 2 : 1)
/* Assembler output control. */
...
...
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