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
d5aa0eb1
Commit
d5aa0eb1
authored
Sep 24, 2007
by
Roman Zippel
Committed by
Roman Zippel
Sep 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc/final.c (final_scan_insn): Remove accidentally duplicated code.
From-SVN: r128726
parent
7a20d689
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
35 deletions
+4
-35
gcc/ChangeLog
+4
-0
gcc/final.c
+0
-35
No files found.
gcc/ChangeLog
View file @
d5aa0eb1
2007
-
09
-
24
Roman
Zippel
<
zippel
@
linux
-
m68k
.
org
>
*
gcc
/
final
.
c
(
final_scan_insn
):
Remove
accidentally
duplicated
code
.
2007
-
09
-
24
Andrew
Pinski
<
andrew_pinski
@
playstation
.
sony
.
com
>
2007
-
09
-
24
Andrew
Pinski
<
andrew_pinski
@
playstation
.
sony
.
com
>
*
config
.
gcc
(
powerpc
*-*-*):
--
with
-
cpu
=
cell
is
a
64
bit
CPU
.
*
config
.
gcc
(
powerpc
*-*-*):
--
with
-
cpu
=
cell
is
a
64
bit
CPU
.
gcc/final.c
View file @
d5aa0eb1
...
@@ -2387,41 +2387,6 @@ final_scan_insn (rtx insn, FILE *file, int optimize ATTRIBUTE_UNUSED,
...
@@ -2387,41 +2387,6 @@ final_scan_insn (rtx insn, FILE *file, int optimize ATTRIBUTE_UNUSED,
INSN_CODE
(
insn
)
=
-
1
;
INSN_CODE
(
insn
)
=
-
1
;
}
}
/* If this is a conditional trap, maybe modify it if the cc's
are in a nonstandard state so that it accomplishes the same
thing that it would do straightforwardly if the cc's were
set up normally. */
if
(
cc_status
.
flags
!=
0
&&
NONJUMP_INSN_P
(
insn
)
&&
GET_CODE
(
body
)
==
TRAP_IF
&&
COMPARISON_P
(
TRAP_CONDITION
(
body
))
&&
XEXP
(
TRAP_CONDITION
(
body
),
0
)
==
cc0_rtx
)
{
/* This function may alter the contents of its argument
and clear some of the cc_status.flags bits.
It may also return 1 meaning condition now always true
or -1 meaning condition now always false
or 2 meaning condition nontrivial but altered. */
int
result
=
alter_cond
(
TRAP_CONDITION
(
body
));
/* If TRAP_CONDITION has become always false, delete the
instruction. */
if
(
result
==
-
1
)
{
delete_insn
(
insn
);
break
;
}
/* If TRAP_CONDITION has become always true, replace
TRAP_CONDITION with const_true_rtx. */
if
(
result
==
1
)
TRAP_CONDITION
(
body
)
=
const_true_rtx
;
/* Rerecognize the instruction if it has changed. */
if
(
result
!=
0
)
INSN_CODE
(
insn
)
=
-
1
;
}
/* Make same adjustments to instructions that examine the
/* Make same adjustments to instructions that examine the
condition codes without jumping and instructions that
condition codes without jumping and instructions that
handle conditional moves (if this machine has either one). */
handle conditional moves (if this machine has either one). */
...
...
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