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
30d88916
Commit
30d88916
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: r7119
parent
82c68a78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/optabs.c
+2
-2
No files found.
gcc/optabs.c
View file @
30d88916
...
@@ -3098,7 +3098,7 @@ expand_float (to, from, unsignedp)
...
@@ -3098,7 +3098,7 @@ expand_float (to, from, unsignedp)
fixes the bug. */
fixes the bug. */
offset
=
REAL_VALUE_LDEXP
(
dconst1
,
GET_MODE_BITSIZE
(
GET_MODE
(
from
)));
offset
=
REAL_VALUE_LDEXP
(
dconst1
,
GET_MODE_BITSIZE
(
GET_MODE
(
from
)));
temp
=
expand_binop
(
fmode
,
add_optab
,
target
,
temp
=
expand_binop
(
fmode
,
add_optab
,
target
,
immed_real_const_1
(
offset
,
fmode
),
CONST_DOUBLE_FROM_REAL_VALUE
(
offset
,
fmode
),
target
,
0
,
OPTAB_LIB_WIDEN
);
target
,
0
,
OPTAB_LIB_WIDEN
);
if
(
temp
!=
target
)
if
(
temp
!=
target
)
emit_move_insn
(
target
,
temp
);
emit_move_insn
(
target
,
temp
);
...
@@ -3279,7 +3279,7 @@ expand_fix (to, from, unsignedp)
...
@@ -3279,7 +3279,7 @@ expand_fix (to, from, unsignedp)
bitsize
=
GET_MODE_BITSIZE
(
GET_MODE
(
to
));
bitsize
=
GET_MODE_BITSIZE
(
GET_MODE
(
to
));
offset
=
REAL_VALUE_LDEXP
(
dconst1
,
bitsize
-
1
);
offset
=
REAL_VALUE_LDEXP
(
dconst1
,
bitsize
-
1
);
limit
=
immed_real_const_1
(
offset
,
fmode
);
limit
=
CONST_DOUBLE_FROM_REAL_VALUE
(
offset
,
fmode
);
lab1
=
gen_label_rtx
();
lab1
=
gen_label_rtx
();
lab2
=
gen_label_rtx
();
lab2
=
gen_label_rtx
();
...
...
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