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
4b2cb4a2
Commit
4b2cb4a2
authored
Oct 19, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(can_combine_p): Don't combine instructions across a volatile insn.
From-SVN: r5802
parent
d97c4a16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
gcc/combine.c
+8
-0
No files found.
gcc/combine.c
View file @
4b2cb4a2
...
@@ -927,6 +927,14 @@ can_combine_p (insn, i3, pred, succ, pdest, psrc)
...
@@ -927,6 +927,14 @@ can_combine_p (insn, i3, pred, succ, pdest, psrc)
&&
p
!=
succ
&&
volatile_refs_p
(
PATTERN
(
p
)))
&&
p
!=
succ
&&
volatile_refs_p
(
PATTERN
(
p
)))
return
0
;
return
0
;
/* If there are any volatile insns between INSN and I3, reject, because
they might affect machine state. */
for
(
p
=
NEXT_INSN
(
insn
);
p
!=
i3
;
p
=
NEXT_INSN
(
p
))
if
(
GET_RTX_CLASS
(
GET_CODE
(
p
))
==
'i'
&&
p
!=
succ
&&
volatile_insn_p
(
PATTERN
(
p
)))
return
0
;
/* If INSN or I2 contains an autoincrement or autodecrement,
/* If INSN or I2 contains an autoincrement or autodecrement,
make sure that register is not used between there and I3,
make sure that register is not used between there and I3,
and not already used in I3 either.
and not already used in I3 either.
...
...
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