Commit 90d3ff1c by Alan Modra Committed by David Edelsohn

re PR target/27075 (Compiler generate incorrect assembler for __sync_fetch-*…

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
parent e88e0907
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment