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
ef0e2729
Commit
ef0e2729
authored
Aug 17, 2004
by
David Edelsohn
Committed by
David Edelsohn
Aug 17, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/darwin.c (macho_indirect_data_reference): Add DImode case.
From-SVN: r86149
parent
e17c734b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
gcc/ChangeLog
+1
-0
gcc/config/darwin.c
+3
-9
No files found.
gcc/ChangeLog
View file @
ef0e2729
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
2004-08-17 David Edelsohn <edelsohn@gnu.org>
2004-08-17 David Edelsohn <edelsohn@gnu.org>
Revert 2004-08-16 Stan Shebs <shebs@apple.com>
Revert 2004-08-16 Stan Shebs <shebs@apple.com>
* config/darwin.c (macho_indirect_data_reference): Add DImode case.
* config/rs6000/rs6000.md: Include darwin.md.
* config/rs6000/rs6000.md: Include darwin.md.
(builtin_setjmp_receiver): Add DImode case.
(builtin_setjmp_receiver): Add DImode case.
* config/rs6000/rs6000.c (rs6000_emit_move): Add DImode case to
* config/rs6000/rs6000.c (rs6000_emit_move): Add DImode case to
...
...
gcc/config/darwin.c
View file @
ef0e2729
...
@@ -333,12 +333,8 @@ machopic_indirect_data_reference (rtx orig, rtx reg)
...
@@ -333,12 +333,8 @@ machopic_indirect_data_reference (rtx orig, rtx reg)
if
(
defined
&&
MACHO_DYNAMIC_NO_PIC_P
)
if
(
defined
&&
MACHO_DYNAMIC_NO_PIC_P
)
{
{
#if defined (TARGET_TOC)
#if defined (TARGET_TOC)
emit_insn
(
GET_MODE
(
orig
)
==
DImode
emit_insn
(
gen_macho_high
(
reg
,
orig
));
?
gen_macho_high_di
(
reg
,
orig
)
emit_insn
(
gen_macho_low
(
reg
,
reg
,
orig
));
:
gen_macho_high
(
reg
,
orig
));
emit_insn
(
GET_MODE
(
orig
)
==
DImode
?
gen_macho_low_di
(
reg
,
reg
,
orig
)
:
gen_macho_low
(
reg
,
reg
,
orig
));
#else
#else
/* some other cpu -- writeme! */
/* some other cpu -- writeme! */
abort
();
abort
();
...
@@ -533,9 +529,7 @@ machopic_legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg)
...
@@ -533,9 +529,7 @@ machopic_legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg)
rtx
asym
=
XEXP
(
orig
,
0
);
rtx
asym
=
XEXP
(
orig
,
0
);
rtx
mem
;
rtx
mem
;
emit_insn
(
mode
==
DImode
emit_insn
(
gen_macho_high
(
temp_reg
,
asym
));
?
gen_macho_high_di
(
temp_reg
,
asym
)
:
gen_macho_high
(
temp_reg
,
asym
));
mem
=
gen_rtx_MEM
(
GET_MODE
(
orig
),
mem
=
gen_rtx_MEM
(
GET_MODE
(
orig
),
gen_rtx_LO_SUM
(
Pmode
,
temp_reg
,
asym
));
gen_rtx_LO_SUM
(
Pmode
,
temp_reg
,
asym
));
RTX_UNCHANGING_P
(
mem
)
=
1
;
RTX_UNCHANGING_P
(
mem
)
=
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