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
665853dc
Commit
665853dc
authored
Nov 11, 1999
by
Bernd Schmidt
Committed by
Bernd Schmidt
Nov 11, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid passing things like NEG into expand_and/expand_binop
From-SVN: r30487
parent
d7627b79
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
gcc/ChangeLog
+5
-0
gcc/jump.c
+3
-0
No files found.
gcc/ChangeLog
View file @
665853dc
Thu
Nov
11
13
:
23
:
04
1999
Bernd
Schmidt
<
bernds
@cygnus
.
co
.
uk
>
*
jump
.
c
(
jump_optimize_1
)
:
Avoid
passing
an
rtx
that
is
not
an
operand
as
argument
to
expand_and
or
expand_binop
.
Thu
Nov
11
02
:
21
:
16
1999
Rodney
Brown
<
RodneyBrown
@pmsc
.
com
>
Thu
Nov
11
02
:
21
:
16
1999
Rodney
Brown
<
RodneyBrown
@pmsc
.
com
>
*
xcoffout
.
c
(
xcoffout_source_file
)
:
Change
ggc_add_root
to
*
xcoffout
.
c
(
xcoffout_source_file
)
:
Change
ggc_add_root
to
...
...
gcc/jump.c
View file @
665853dc
...
@@ -1453,6 +1453,9 @@ jump_optimize_1 (f, cross_jump, noop_moves, after_regscan, mark_labels_only)
...
@@ -1453,6 +1453,9 @@ jump_optimize_1 (f, cross_jump, noop_moves, after_regscan, mark_labels_only)
5) if (...) x = b; if jumps are even more expensive. */
5) if (...) x = b; if jumps are even more expensive. */
if
(
GET_MODE_CLASS
(
GET_MODE
(
temp1
))
==
MODE_INT
if
(
GET_MODE_CLASS
(
GET_MODE
(
temp1
))
==
MODE_INT
/* We will be passing this as operand into expand_and. No
good if it's not valid as an operand. */
&&
general_operand
(
temp2
,
GET_MODE
(
temp2
))
&&
((
GET_CODE
(
temp3
)
==
CONST_INT
)
&&
((
GET_CODE
(
temp3
)
==
CONST_INT
)
/* Make the latter case look like
/* Make the latter case look like
x = x; if (...) x = 0; */
x = x; if (...) x = 0; */
...
...
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