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
7529ac93
Commit
7529ac93
authored
Jul 07, 1992
by
Charles Hannum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
entered into RCS
From-SVN: r1496
parent
592252ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
gcc/emit-rtl.c
+10
-6
No files found.
gcc/emit-rtl.c
View file @
7529ac93
...
...
@@ -804,15 +804,19 @@ operand_subword (op, i, validate_address, mode)
&&
GET_MODE_CLASS
(
mode
)
==
MODE_FLOAT
&&
GET_MODE_SIZE
(
mode
)
==
2
*
UNITS_PER_WORD
&&
GET_CODE
(
op
)
==
CONST_DOUBLE
)
return
GEN_INT
(
i
^
(
WORDS_BIG_ENDIAN
!=
/* The constant is stored in the host's word-ordering,
but we want to access it in the target's word-ordering. */
{
/* The constant is stored in the host's word-ordering,
but we want to access it in the target's word-ordering. Some
compilers don't like a conditional inside macro args, so we have two
copies of the return. */
#ifdef HOST_WORDS_BIG_ENDIAN
1
return
GEN_INT
(
i
==
WORDS_BIG_ENDIAN
?
CONST_DOUBLE_HIGH
(
op
)
:
CONST_DOUBLE_LOW
(
op
));
#else
0
return
GEN_INT
(
i
!=
WORDS_BIG_ENDIAN
?
CONST_DOUBLE_HIGH
(
op
)
:
CONST_DOUBLE_LOW
(
op
));
#endif
)
?
CONST_DOUBLE_HIGH
(
op
)
:
CONST_DOUBLE_LOW
(
op
));
}
/* Single word float is a little harder, since single- and double-word
values often do not have the same high-order bits. We have already
...
...
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