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
5b029315
Commit
5b029315
authored
Jan 19, 2002
by
Tom Rix
Committed by
Tom Rix
Jan 19, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for DF split
From-SVN: r49011
parent
89769d19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
gcc/ChangeLog
+4
-0
gcc/config/rs6000/rs6000.md
+8
-0
No files found.
gcc/ChangeLog
View file @
5b029315
2002-01-19 Tom Rix <trix@redhat.com>
* config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
2002-01-18 Aldy Hernandez <aldyh@redhat.com>
* doc/tm.texi (STARTING_FRAME_PHASE): Document.
...
...
gcc/config/rs6000/rs6000.md
View file @
5b029315
...
...
@@ -7927,13 +7927,21 @@
int endian = (WORDS_BIG_ENDIAN == 0);
long l
[
2
]
;
REAL_VALUE_TYPE rv;
HOST_WIDE_INT val;
REAL_VALUE_FROM_CONST_DOUBLE (rv, operands
[
1
]
);
REAL_VALUE_TO_TARGET_DOUBLE (rv, l);
operands
[
2
]
= gen_lowpart (DImode, operands
[
0
]
);
/
* HIGHPART is lower memory address when WORDS_BIG_ENDIAN. *
/
#if HOST_BITS_PER_WIDE_INT >= 64
val = ((HOST_WIDE_INT)(unsigned long)l
[
endian
]
<< 32 |
((HOST_WIDE_INT)(unsigned long)l
[
1 - endian
]
));
operands
[
3
]
= immed_double_const (val, -(val < 0), DImode);
#else
operands
[
3
]
= immed_double_const (l
[
1 - endian
]
, l
[
endian
]
, DImode);
#endif
}")
;; Don't have reload use general registers to load a constant. First,
...
...
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