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
c4a18992
Commit
c4a18992
authored
Jul 08, 1996
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(true_dependence, anti_dependence, output_dependence):
Likewise. From-SVN: r12416
parent
20fef67b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
gcc/sched.c
+11
-2
No files found.
gcc/sched.c
View file @
c4a18992
...
...
@@ -807,11 +807,14 @@ memrefs_conflict_p (xsize, x, ysize, y, c)
changed. A volatile and non-volatile reference can be interchanged
though.
A MEM_IN_STRUCT reference at a non-QImode varying address can never
A MEM_IN_STRUCT reference at a non-QImode
non-AND
varying address can never
conflict with a non-MEM_IN_STRUCT reference at a fixed address. We must
allow QImode aliasing because the ANSI C standard allows character
pointers to alias anything. We are assuming that characters are
always QImode here. */
always QImode here. We also must allow AND addresses, because they may
generate accesses outside the object being referenced. This is used to
generate aligned addresses from unaligned addresses, for instance, the
alpha storeqi_unaligned pattern. */
/* Read dependence: X is read after read in MEM takes place. There can
only be a dependence here if both reads are volatile. */
...
...
@@ -848,9 +851,11 @@ true_dependence (mem, x)
SIZE_FOR_MODE
(
x
),
XEXP
(
x
,
0
),
0
)
&&
!
(
MEM_IN_STRUCT_P
(
mem
)
&&
rtx_addr_varies_p
(
mem
)
&&
GET_MODE
(
mem
)
!=
QImode
&&
GET_CODE
(
XEXP
(
mem
,
0
))
!=
AND
&&
!
MEM_IN_STRUCT_P
(
x
)
&&
!
rtx_addr_varies_p
(
x
))
&&
!
(
MEM_IN_STRUCT_P
(
x
)
&&
rtx_addr_varies_p
(
x
)
&&
GET_MODE
(
x
)
!=
QImode
&&
GET_CODE
(
XEXP
(
x
,
0
))
!=
AND
&&
!
MEM_IN_STRUCT_P
(
mem
)
&&
!
rtx_addr_varies_p
(
mem
))));
}
...
...
@@ -874,9 +879,11 @@ anti_dependence (mem, x)
SIZE_FOR_MODE
(
x
),
XEXP
(
x
,
0
),
0
)
&&
!
(
MEM_IN_STRUCT_P
(
mem
)
&&
rtx_addr_varies_p
(
mem
)
&&
GET_MODE
(
mem
)
!=
QImode
&&
GET_CODE
(
XEXP
(
mem
,
0
))
!=
AND
&&
!
MEM_IN_STRUCT_P
(
x
)
&&
!
rtx_addr_varies_p
(
x
))
&&
!
(
MEM_IN_STRUCT_P
(
x
)
&&
rtx_addr_varies_p
(
x
)
&&
GET_MODE
(
x
)
!=
QImode
&&
GET_CODE
(
XEXP
(
x
,
0
))
!=
AND
&&
!
MEM_IN_STRUCT_P
(
mem
)
&&
!
rtx_addr_varies_p
(
mem
))));
}
...
...
@@ -894,9 +901,11 @@ output_dependence (mem, x)
SIZE_FOR_MODE
(
x
),
XEXP
(
x
,
0
),
0
)
&&
!
(
MEM_IN_STRUCT_P
(
mem
)
&&
rtx_addr_varies_p
(
mem
)
&&
GET_MODE
(
mem
)
!=
QImode
&&
GET_CODE
(
XEXP
(
mem
,
0
))
!=
AND
&&
!
MEM_IN_STRUCT_P
(
x
)
&&
!
rtx_addr_varies_p
(
x
))
&&
!
(
MEM_IN_STRUCT_P
(
x
)
&&
rtx_addr_varies_p
(
x
)
&&
GET_MODE
(
x
)
!=
QImode
&&
GET_CODE
(
XEXP
(
x
,
0
))
!=
AND
&&
!
MEM_IN_STRUCT_P
(
mem
)
&&
!
rtx_addr_varies_p
(
mem
))));
}
...
...
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