projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d91dd2
)
(movsi): Can copy a TOC address into a register.
author
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 26 Oct 1993 22:58:16 +0000
(18:58 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 26 Oct 1993 22:58:16 +0000
(18:58 -0400)
From-SVN: r5902
gcc/config/rs6000/rs6000.md
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/rs6000.md
b/gcc/config/rs6000/rs6000.md
index e6caa7b2c54c33b946d59c975dd73407f7f3f75e..4e5398288116d6d9dca261cbb120306cc9757373 100644
(file)
--- a/
gcc/config/rs6000/rs6000.md
+++ b/
gcc/config/rs6000/rs6000.md
@@
-2699,7
+2699,8
@@
if (GET_CODE (operands[0]) != REG)
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]);
if (! memory_address_p (SImode, XEXP (operands[1], 0))