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
21648b45
Commit
21648b45
authored
Apr 23, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r823
parent
6e3f0724
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
gcc/cse.c
+7
-9
No files found.
gcc/cse.c
View file @
21648b45
...
...
@@ -3270,11 +3270,15 @@ simplify_binary_operation (code, mode, op0, op1)
break
;
case
MINUS
:
/* In IEEE floating point, x-0 is not the same as x. */
/* None of these optimizations can be done for IEEE
floating point. */
if
(
TARGET_FLOAT_FORMAT
==
IEEE_FLOAT_FORMAT
&&
GET_MODE_CLASS
(
mode
)
!=
MODE_INT
)
break
;
/* We can't assume x-x is 0 even with non-IEEE floating point. */
if
(
rtx_equal_p
(
op0
,
op1
)
&&
!
side_effects_p
(
op0
)
/* We can't assume x-x is 0
even with non-IEEE floating point. */
&&
GET_MODE_CLASS
(
mode
)
!=
MODE_FLOAT
)
return
const0_rtx
;
...
...
@@ -3282,12 +3286,6 @@ simplify_binary_operation (code, mode, op0, op1)
if
(
op0
==
CONST0_RTX
(
mode
))
return
gen_rtx
(
NEG
,
mode
,
op1
);
/* The remainer of these cases cannot be done for IEEE
floating-point. */
if
(
TARGET_FLOAT_FORMAT
==
IEEE_FLOAT_FORMAT
&&
GET_MODE_CLASS
(
mode
)
!=
MODE_INT
)
break
;
/* Subtracting 0 has no effect. */
if
(
op1
==
CONST0_RTX
(
mode
))
return
op0
;
...
...
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