diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-08-25 18:56:08 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-08-25 18:56:08 +0000 |
commit | 75966017641ab6a80b4f85900625928805ad4aea (patch) | |
tree | 726bb06a5f2dfa94113c33948669298fc13da826 | |
parent | f64ee22a28e7d91ea924a61420612a6b390e68da (diff) |
PR target/27075
* config/rs6000/rs6000.c (print_operand): Only use e500 %y syntax
for 8 byte objects.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@116425 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 987e7c29c36..81bc0d7ed9e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-08-25 Alan Modra <amodra@bigpond.net.au> + + PR target/27075 + * config/rs6000/rs6000.c (print_operand): Only use e500 %y syntax + for 8 byte objects. + 2006-08-25 J"orn Rennecke <joern.rennecke@st.com> PR tree-optimization/16876 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 9bae3f8b24d..780e905daac 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -10789,7 +10789,8 @@ print_operand (FILE *file, rtx x, int code) tmp = XEXP (x, 0); - if (TARGET_E500) + /* Ugly hack because %y is overloaded. */ + if (TARGET_E500 && GET_MODE_SIZE (GET_MODE (x)) == 8) { /* Handle [reg]. */ if (GET_CODE (tmp) == REG) |