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
51b00347
Commit
51b00347
authored
Jul 06, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1455
parent
b7ac21e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gcc/cse.c
+6
-0
No files found.
gcc/cse.c
View file @
51b00347
...
@@ -3405,12 +3405,18 @@ simplify_binary_operation (code, mode, op0, op1)
...
@@ -3405,12 +3405,18 @@ simplify_binary_operation (code, mode, op0, op1)
else
if
(
GET_CODE
(
op0
)
==
CONST_INT
)
else
if
(
GET_CODE
(
op0
)
==
CONST_INT
)
return
plus_constant
(
op1
,
INTVAL
(
op0
));
return
plus_constant
(
op1
,
INTVAL
(
op0
));
else
else
break
;
#if 0 /* No good, because this can produce the sum of two relocatable
symbols, in an assembler instruction. Most UNIX assemblers can't
handle that. */
else
return gen_rtx (CONST, mode,
return gen_rtx (CONST, mode,
gen_rtx (PLUS, mode,
gen_rtx (PLUS, mode,
GET_CODE (op0) == CONST
GET_CODE (op0) == CONST
? XEXP (op0, 0) : op0,
? XEXP (op0, 0) : op0,
GET_CODE (op1) == CONST
GET_CODE (op1) == CONST
? XEXP (op1, 0) : op1));
? XEXP (op1, 0) : op1));
#endif
}
}
else
if
(
GET_CODE
(
op1
)
==
CONST_INT
else
if
(
GET_CODE
(
op1
)
==
CONST_INT
&&
GET_CODE
(
op0
)
==
PLUS
&&
GET_CODE
(
op0
)
==
PLUS
...
...
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