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
78b8d850
Commit
78b8d850
authored
Oct 26, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(movsi): Can copy a TOC address into a register.
From-SVN: r5902
parent
8d91dd28
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
gcc/config/rs6000/rs6000.md
+2
-1
No files found.
gcc/config/rs6000/rs6000.md
View file @
78b8d850
...
@@ -2699,7 +2699,8 @@
...
@@ -2699,7 +2699,8 @@
if (GET_CODE (operands
[
0
]
) != REG)
if (GET_CODE (operands
[
0
]
) != REG)
operands
[
1
]
= force_reg (SImode, operands
[
1
]
);
operands
[
1
]
= force_reg (SImode, operands
[
1
]
);
if (CONSTANT_P (operands
[
1
]
) && GET_CODE (operands
[
1
]
) != CONST_INT)
if (CONSTANT_P (operands
[
1
]
) && GET_CODE (operands
[
1
]
) != CONST_INT
&& ! LEGITIMATE_CONSTANT_POOL_ADDRESS_P (operands
[
1
]
))
{
{
operands
[
1
]
= force_const_mem (SImode, operands
[
1
]
);
operands
[
1
]
= force_const_mem (SImode, operands
[
1
]
);
if (! memory_address_p (SImode, XEXP (operands
[
1
]
, 0))
if (! memory_address_p (SImode, XEXP (operands
[
1
]
, 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