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
2ebcccf3
Commit
2ebcccf3
authored
Apr 14, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(simplify_unary_operation): Add new arg to REAL_VALUE_FROM_INT.
From-SVN: r11765
parent
7efc32fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/cse.c
+3
-3
No files found.
gcc/cse.c
View file @
2ebcccf3
/* Common subexpression elimination for GNU compiler.
Copyright (C) 1987, 88, 89, 92
, 93, 94, 1995
Free Software Foundation, Inc.
Copyright (C) 1987, 88, 89, 92
-5, 1996
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -3028,7 +3028,7 @@ simplify_unary_operation (code, mode, op, op_mode)
lv
=
CONST_DOUBLE_LOW
(
op
),
hv
=
CONST_DOUBLE_HIGH
(
op
);
#ifdef REAL_ARITHMETIC
REAL_VALUE_FROM_INT
(
d
,
lv
,
hv
);
REAL_VALUE_FROM_INT
(
d
,
lv
,
hv
,
mode
);
#else
if
(
hv
<
0
)
{
...
...
@@ -3073,7 +3073,7 @@ simplify_unary_operation (code, mode, op, op_mode)
hv
=
0
,
lv
&=
GET_MODE_MASK
(
op_mode
);
#ifdef REAL_ARITHMETIC
REAL_VALUE_FROM_UNSIGNED_INT
(
d
,
lv
,
hv
);
REAL_VALUE_FROM_UNSIGNED_INT
(
d
,
lv
,
hv
,
mode
);
#else
d
=
(
double
)
(
unsigned
HOST_WIDE_INT
)
hv
;
...
...
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