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
4635f748
Commit
4635f748
authored
Mar 23, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(simplify_rtx, case FLOAT_TRUNCATE): Simplify
case of (float_truncate (abs (float_extend X))). From-SVN: r6857
parent
a20dcf46
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
gcc/combine.c
+9
-0
No files found.
gcc/combine.c
View file @
4635f748
...
...
@@ -3456,6 +3456,15 @@ simplify_rtx (x, op0_mode, last, in_dest)
if
(
GET_CODE
(
XEXP
(
x
,
0
))
==
FLOAT_EXTEND
&&
GET_MODE
(
XEXP
(
XEXP
(
x
,
0
),
0
))
==
mode
)
return
XEXP
(
XEXP
(
x
,
0
),
0
);
/* (float_truncate:SF (OP:DF (float_extend:DF foo:sf))) is
(OP:SF foo:SF) if OP is NEG or ABS. */
if
((
GET_CODE
(
XEXP
(
x
,
0
))
==
ABS
||
GET_CODE
(
XEXP
(
x
,
0
))
==
NEG
)
&&
GET_CODE
(
XEXP
(
XEXP
(
x
,
0
),
0
))
==
FLOAT_EXTEND
&&
GET_MODE
(
XEXP
(
XEXP
(
XEXP
(
x
,
0
),
0
),
0
))
==
mode
)
return
gen_unary
(
GET_CODE
(
XEXP
(
x
,
0
)),
mode
,
XEXP
(
XEXP
(
XEXP
(
x
,
0
),
0
),
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