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
53685896
Commit
53685896
authored
May 02, 2017
by
Bin Cheng
Committed by
Bin Cheng
May 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* rtlanal.c (rtx_cost): Handle TRUNCATE between tieable modes.
From-SVN: r247509
parent
27c72a9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
gcc/ChangeLog
+4
-1
gcc/rtlanal.c
+8
-0
No files found.
gcc/ChangeLog
View file @
53685896
2017-05-02 Bin Cheng <bin.cheng@arm.com>
* rtlanal.c (rtx_cost): Handle TRUNCATE between tieable modes.
2017-05-02 Xi Ruoyao <ryxi@stu.xidian.edu.cn>
* tree.h (EXPR_CILK_SPAWN): Use macro TREE_CHECK2 instead of
function tree_check2.
2017-05-02 Martin Liska <mliska@suse.cz>
* doc/gcov.texi: Add missing preposition.
...
...
gcc/rtlanal.c
View file @
53685896
...
...
@@ -4164,6 +4164,14 @@ rtx_cost (rtx x, machine_mode mode, enum rtx_code outer_code,
return
COSTS_N_INSNS
(
2
+
factor
);
break
;
case
TRUNCATE
:
/* If we can tie these modes, make this cheap. */
if
(
MODES_TIEABLE_P
(
mode
,
GET_MODE
(
SUBREG_REG
(
x
))))
{
total
=
0
;
break
;
}
/* FALLTHRU */
default
:
if
(
targetm
.
rtx_costs
(
x
,
mode
,
outer_code
,
opno
,
&
total
,
speed
))
return
total
;
...
...
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