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
a3afe920
Commit
a3afe920
authored
24 years ago
by
J"orn Rennecke
Committed by
Joern Rennecke
24 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* reload1.c (reload_cse_move2add): Honor TRULY_NOOP_TRUNCATION.
From-SVN: r34106
parent
ed7fd6c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
gcc/ChangeLog
+4
-0
gcc/reload1.c
+6
-2
No files found.
gcc/ChangeLog
View file @
a3afe920
Tue
May
23
18
:
11
:
42
2000
J
"orn Rennecke <amylaar@cygnus.co.uk>
* reload1.c (reload_cse_move2add): Honor TRULY_NOOP_TRUNCATION.
2000-05-23 Jonathan Larmour <jlarmour@redhat.co.uk>
* config/mips/elf64.h (CTOR_LISTS_DEFINED_EXTERNALLY): Define
This diff is collapsed.
Click to expand it.
gcc/reload1.c
View file @
a3afe920
...
...
@@ -8905,8 +8905,12 @@ reload_cse_move2add (first)
/* ??? We don't know how zero / sign extension is handled, hence
we can't go from a narrower to a wider mode. */
if
(
reg_set_luid
[
regno
]
>
last_label_luid
&&
(
GET_MODE_SIZE
(
GET_MODE
(
reg
))
<=
GET_MODE_SIZE
(
reg_mode
[
regno
]))
&&
((
GET_MODE_SIZE
(
GET_MODE
(
reg
))
==
GET_MODE_SIZE
(
reg_mode
[
regno
]))
||
((
GET_MODE_SIZE
(
GET_MODE
(
reg
))
<=
GET_MODE_SIZE
(
reg_mode
[
regno
]))
&&
TRULY_NOOP_TRUNCATION
(
GET_MODE_BITSIZE
(
GET_MODE
(
reg
)),
GET_MODE_BITSIZE
(
reg_mode
[
regno
]))))
&&
GET_CODE
(
reg_offset
[
regno
])
==
CONST_INT
)
{
/* Try to transform (set (REGX) (CONST_INT A))
...
...
This diff is collapsed.
Click to expand it.
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