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:
parent
e88e0907bd
commit
90d3ff1c72
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user