Commit d66a97e2 by Michael Meissner Committed by Michael Meissner

Fix PR 40558, undo part of June 25th patch

Co-Authored-By: Pat Haugen <pthaugen@us.ibm.com>
Co-Authored-By: Revital Eres <eres@il.ibm.com>

From-SVN: r149155
parent 479b1013
2009-07-01 Michael Meissner <meissner@linux.vnet.ibm.com>
PR bootstrap/40558
* config/rs6000/rs6000.c (print_operand): Undo change that breaks
darwin9 for printing reg addresses with %y.
2009-07-01 Adam Nemet <anemet@caviumnetworks.com>
* combine.c (force_to_mode): Handle TRUNCATE. Factor out
......@@ -735,6 +741,19 @@
Pat Haugen <pthaugen@us.ibm.com>
Revital Eres <ERES@il.ibm.com>
* config/rs6000/rs6000.c (print_operand): Correct lossage message
for %c error. Add %x support to print VSX registers as a unified
register set, instead of separate float and altivec registers.
Switch to use VECTOR_MEM_ALTIVEC_P instead of TARGET_ALTIVEC for
%y case, and add support for VSX pre-modify addresses.
(output_toc): Add assert for CONST containing an integer constant
in the PLUS case.
(rs6000_adjust_cost): Add POWER7 support.
(insn_must_be_first_in_group): Ditto.
(insn_must_be_last_in_group): Ditto.
(rs6000_emit_popcount): Ditto.
(rs6000_vector_mode_supported_p): Ditto.
* config/rs6000/rs6000-protos.h (rs6000_secondary_reload_class):
Change some of the functions called by macros to being called
through a pointer, so debug functions can be inserted if
......
......@@ -13471,7 +13471,7 @@ print_operand (FILE *file, rtx x, int code)
&& GET_CODE (tmp) == PRE_MODIFY)
tmp = XEXP (tmp, 1);
if (GET_CODE (tmp) == REG)
fprintf (file, "%s,%s", reg_names[0], reg_names[REGNO (tmp)]);
fprintf (file, "0,%s", reg_names[REGNO (tmp)]);
else
{
if (!GET_CODE (tmp) == PLUS
......
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