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
560c94a2
Commit
560c94a2
authored
Apr 21, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7113
parent
ca5ddfbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
gcc/cse.c
+7
-5
No files found.
gcc/cse.c
View file @
560c94a2
...
...
@@ -3178,7 +3178,7 @@ simplify_unary_operation (code, mode, op, op_mode)
abort
();
}
x
=
immed_real_const_1
(
d
,
mode
);
x
=
CONST_DOUBLE_FROM_REAL_VALUE
(
d
,
mode
);
set_float_handler
(
NULL_PTR
);
return
x
;
}
...
...
@@ -3334,7 +3334,7 @@ simplify_binary_operation (code, mode, op0, op1)
value
=
real_value_truncate
(
mode
,
value
);
set_float_handler
(
NULL_PTR
);
return
immed_real_const_1
(
value
,
mode
);
return
CONST_DOUBLE_FROM_REAL_VALUE
(
value
,
mode
);
}
#endif
/* not REAL_IS_NOT_DOUBLE, or REAL_ARITHMETIC */
...
...
@@ -5160,7 +5160,8 @@ fold_rtx (x, insn)
#ifdef FLOAT_STORE_FLAG_VALUE
if
(
GET_MODE_CLASS
(
mode
)
==
MODE_FLOAT
)
{
true
=
immed_real_const_1
(
FLOAT_STORE_FLAG_VALUE
,
mode
);
true
=
CONST_DOUBLE_FROM_REAL_VALUE
(
FLOAT_STORE_FLAG_VALUE
,
mode
);
false
=
CONST0_RTX
(
mode
);
}
#endif
...
...
@@ -5269,7 +5270,8 @@ fold_rtx (x, insn)
#ifdef FLOAT_STORE_FLAG_VALUE
if
(
GET_MODE_CLASS
(
mode
)
==
MODE_FLOAT
)
{
true
=
immed_real_const_1
(
FLOAT_STORE_FLAG_VALUE
,
mode
);
true
=
CONST_DOUBLE_FROM_REAL_VALUE
(
FLOAT_STORE_FLAG_VALUE
,
mode
);
false
=
CONST0_RTX
(
mode
);
}
#endif
...
...
@@ -5298,7 +5300,7 @@ fold_rtx (x, insn)
#ifdef FLOAT_STORE_FLAG_VALUE
if
(
new
!=
0
&&
GET_MODE_CLASS
(
mode
)
==
MODE_FLOAT
)
new
=
((
new
==
const0_rtx
)
?
CONST0_RTX
(
mode
)
:
immed_real_const_1
(
FLOAT_STORE_FLAG_VALUE
,
mode
));
:
CONST_DOUBLE_FROM_REAL_VALUE
(
FLOAT_STORE_FLAG_VALUE
,
mode
));
#endif
break
;
...
...
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