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
6e848450
Commit
6e848450
authored
May 18, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(reload_cse_regno_equal_p): Check for value using more than one
register on a big endian machine. From-SVN: r14088
parent
2ae3dcac
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
gcc/reload1.c
+8
-0
No files found.
gcc/reload1.c
View file @
6e848450
...
@@ -7980,6 +7980,14 @@ reload_cse_regno_equal_p (regno, val, mode)
...
@@ -7980,6 +7980,14 @@ reload_cse_regno_equal_p (regno, val, mode)
&&
(
GET_CODE
(
val
)
!=
CONST_INT
&&
(
GET_CODE
(
val
)
!=
CONST_INT
||
mode
==
GET_MODE
(
x
)
||
mode
==
GET_MODE
(
x
)
||
(
GET_MODE_SIZE
(
mode
)
<
GET_MODE_SIZE
(
GET_MODE
(
x
))
||
(
GET_MODE_SIZE
(
mode
)
<
GET_MODE_SIZE
(
GET_MODE
(
x
))
/* On a big endian machine if the value spans more than
one register then this register holds the high part of
it and we can't use it.
??? We should also compare with the high part of the
value. */
&&
!
(
WORDS_BIG_ENDIAN
&&
HARD_REGNO_NREGS
(
regno
,
GET_MODE
(
x
))
>
1
)
&&
TRULY_NOOP_TRUNCATION
(
GET_MODE_BITSIZE
(
mode
),
&&
TRULY_NOOP_TRUNCATION
(
GET_MODE_BITSIZE
(
mode
),
GET_MODE_BITSIZE
(
GET_MODE
(
x
))))))
GET_MODE_BITSIZE
(
GET_MODE
(
x
))))))
return
1
;
return
1
;
...
...
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