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
d8a8a4da
Commit
d8a8a4da
authored
Jan 24, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(apply_distributive_law): Don't mess with float arith.
From-SVN: r3317
parent
df24d0da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gcc/combine.c
+6
-0
No files found.
gcc/combine.c
View file @
d8a8a4da
...
@@ -5526,6 +5526,12 @@ apply_distributive_law (x)
...
@@ -5526,6 +5526,12 @@ apply_distributive_law (x)
rtx
tem
;
rtx
tem
;
enum
rtx_code
inner_code
;
enum
rtx_code
inner_code
;
/* Distributivity is not true for floating point.
It can change the value. So don't do it.
-- rms and moshier@world.std.com. */
if
(
GET_MODE_CLASS
(
GET_MODE
(
x
))
==
MODE_FLOAT
)
return
x
;
/* The outer operation can only be one of the following: */
/* The outer operation can only be one of the following: */
if
(
code
!=
IOR
&&
code
!=
AND
&&
code
!=
XOR
if
(
code
!=
IOR
&&
code
!=
AND
&&
code
!=
XOR
&&
code
!=
PLUS
&&
code
!=
MINUS
)
&&
code
!=
PLUS
&&
code
!=
MINUS
)
...
...
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