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
00e94d65
Commit
00e94d65
authored
Oct 21, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(find_barrier): When hi_const returns true, increment count_si by two
if found_si is true. From-SVN: r10495
parent
2ad79487
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
gcc/config/sh/sh.c
+9
-1
No files found.
gcc/config/sh/sh.c
View file @
00e94d65
...
@@ -1226,7 +1226,15 @@ find_barrier (from)
...
@@ -1226,7 +1226,15 @@ find_barrier (from)
rtx
src
=
SET_SRC
(
PATTERN
(
from
));
rtx
src
=
SET_SRC
(
PATTERN
(
from
));
if
(
hi_const
(
src
))
if
(
hi_const
(
src
))
found_hi
=
1
;
{
found_hi
=
1
;
/* We put the short constants before the long constants, so
we must count the length of short constants in the range
for the long constants. */
/* ??? This isn't optimal, but is easy to do. */
if
(
found_si
)
count_si
+=
2
;
}
else
else
found_si
=
1
;
found_si
=
1
;
inc
=
(
GET_MODE_SIZE
(
GET_MODE
(
src
))
>
4
)
?
4
:
2
;
inc
=
(
GET_MODE_SIZE
(
GET_MODE
(
src
))
>
4
)
?
4
:
2
;
...
...
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