2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-20 17:40:46 +08:00

re PR target/27075 (Compiler generate incorrect assembler for __sync_fetch-* builtins on e500 aka SPE)

PR target/27075
        * config/rs6000/rs6000.c (print_operand): Only use e500 %y syntax
        for 8 byte objects.

From-SVN: r116425
This commit is contained in:
Alan Modra 2006-08-25 18:56:08 +00:00 committed by David Edelsohn
parent e88e0907bd
commit 90d3ff1c72
2 changed files with 8 additions and 1 deletions
gcc
ChangeLog
config/rs6000

@ -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

@ -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)