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
64609742
Commit
64609742
authored
Mar 05, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(get_secondary_mem): Call SECONDARY_MEMORY_NEEDED_MODE if it is
defined. From-SVN: r6697
parent
26967318
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
gcc/reload.c
+8
-5
No files found.
gcc/reload.c
View file @
64609742
...
...
@@ -602,14 +602,17 @@ get_secondary_mem (x, mode, opnum, type)
rtx
loc
;
int
mem_valid
;
/* If MODE is narrower than a word, widen it. This is required because
most machines that require these memory locations do not support
short load and stores from all registers (e.g., FP registers). We could
possibly conditionalize this, but we lose nothing by doing the wider
mode. */
/* By default, if MODE is narrower than a word, widen it to a word.
This is required because most machines that require these memory
locations do not support short load and stores from all registers
(e.g., FP registers). */
#ifdef SECONDARY_MEMORY_NEEDED_MODE
mode
=
SECONDARY_MEMORY_NEEDED_MODE
(
mode
);
#else
if
(
GET_MODE_BITSIZE
(
mode
)
<
BITS_PER_WORD
)
mode
=
mode_for_size
(
BITS_PER_WORD
,
GET_MODE_CLASS
(
mode
),
0
);
#endif
/* If we already have made a MEM for this operand in MODE, return it. */
if
(
secondary_memlocs_elim
[(
int
)
mode
][
opnum
]
!=
0
)
...
...
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