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
ee668edc
Commit
ee668edc
authored
May 15, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r994
parent
01e2750c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
6 deletions
+25
-6
gcc/final.c
+25
-6
No files found.
gcc/final.c
View file @
ee668edc
...
@@ -1283,6 +1283,22 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
...
@@ -1283,6 +1283,22 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
clobbered by the function. */
clobbered by the function. */
if
(
GET_CODE
(
XVECEXP
(
body
,
0
,
0
))
==
CALL_INSN
)
if
(
GET_CODE
(
XVECEXP
(
body
,
0
,
0
))
==
CALL_INSN
)
CC_STATUS_INIT
;
CC_STATUS_INIT
;
/* Following a conditional branch sequence, we have a new basic
block. */
if
(
profile_block_flag
)
{
rtx
insn
=
XVECEXP
(
body
,
0
,
0
);
rtx
body
=
PATTERN
(
insn
);
if
((
GET_CODE
(
insn
)
==
JUMP_INSN
&&
GET_CODE
(
body
)
==
SET
&&
GET_CODE
(
SET_SRC
(
body
))
!=
LABEL_REF
)
||
(
GET_CODE
(
insn
)
==
JUMP_INSN
&&
GET_CODE
(
body
)
==
PARALLEL
&&
GET_CODE
(
XVECEXP
(
body
,
0
,
0
))
==
SET
&&
GET_CODE
(
SET_SRC
(
XVECEXP
(
body
,
0
,
0
)))
!=
LABEL_REF
))
new_block
=
1
;
}
break
;
break
;
}
}
...
@@ -1333,12 +1349,15 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
...
@@ -1333,12 +1349,15 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
}
}
#endif
#endif
/* Following a conditional branch, we have a new basic block. */
/* Following a conditional branch, we have a new basic block.
if
((
GET_CODE
(
insn
)
==
JUMP_INSN
&&
GET_CODE
(
body
)
==
SET
But if we are inside a sequence, the new block starts after the
&&
GET_CODE
(
SET_SRC
(
body
))
!=
LABEL_REF
)
last insn of the sequence. */
||
(
GET_CODE
(
insn
)
==
JUMP_INSN
&&
GET_CODE
(
body
)
==
PARALLEL
if
(
profile_block_flag
&&
final_sequence
==
0
&&
GET_CODE
(
XVECEXP
(
body
,
0
,
0
))
==
SET
&&
((
GET_CODE
(
insn
)
==
JUMP_INSN
&&
GET_CODE
(
body
)
==
SET
&&
GET_CODE
(
SET_SRC
(
XVECEXP
(
body
,
0
,
0
)))
!=
LABEL_REF
))
&&
GET_CODE
(
SET_SRC
(
body
))
!=
LABEL_REF
)
||
(
GET_CODE
(
insn
)
==
JUMP_INSN
&&
GET_CODE
(
body
)
==
PARALLEL
&&
GET_CODE
(
XVECEXP
(
body
,
0
,
0
))
==
SET
&&
GET_CODE
(
SET_SRC
(
XVECEXP
(
body
,
0
,
0
)))
!=
LABEL_REF
)))
new_block
=
1
;
new_block
=
1
;
#ifndef STACK_REGS
#ifndef STACK_REGS
...
...
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