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
1d12df72
Commit
1d12df72
authored
Aug 12, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(simplify_rtx, case FLOAT_TRUNCATE): Remove redundant float_truncate.
From-SVN: r7906
parent
7d79bcc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
gcc/combine.c
+7
-0
No files found.
gcc/combine.c
View file @
1d12df72
...
...
@@ -3444,6 +3444,13 @@ simplify_rtx (x, op0_mode, last, in_dest)
&&
GET_MODE
(
XEXP
(
XEXP
(
XEXP
(
x
,
0
),
0
),
0
))
==
mode
)
return
gen_unary
(
GET_CODE
(
XEXP
(
x
,
0
)),
mode
,
mode
,
XEXP
(
XEXP
(
XEXP
(
x
,
0
),
0
),
0
));
/* (float_truncate:SF (subreg:DF (float_truncate:SF X) 0))
is (float_truncate:SF x). */
if
(
GET_CODE
(
XEXP
(
x
,
0
))
==
SUBREG
&&
subreg_lowpart_p
(
XEXP
(
x
,
0
))
&&
GET_CODE
(
SUBREG_REG
(
XEXP
(
x
,
0
)))
==
FLOAT_TRUNCATE
)
return
SUBREG_REG
(
XEXP
(
x
,
0
));
break
;
#ifdef HAVE_cc0
...
...
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