This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Poison SMALL_REGISTER_CLASSES


On Feb 15, 2012, at 11:09 AM, Steven Bosscher wrote:
> On Wed, Feb 15, 2012 at 7:59 PM, DJ Delorie <dj@redhat.com> wrote:
>> 
>> I would classify these as "obvious" but please make sure they go in
>> before the poison patch ;-)
>> 
>>> And this will be needed to make those ports do what was intended:
>>> 
>>>       * config/rl78/rl78.h: Replace SMALL_REGISTER_CLASSES with hook.
>>>       * config/rx/rx.h: Remove SMALL_REGISTER_CLASSES.
> 
> I wasn't sure if these are obvious, because I already removed the
> definition from rx.h before, see ChangeLog-2010. Maybe someone put it
> back intentionally.

Nick did it (intentionally) with:

+2010-06-21  Nick Clifton  <nickc@redhat.com>
+
+       * config/rx/rx.h (PTRDIFF_TYPE): Define.
+       (SMALL_REGISTER_CLASS): Define (to zero).
+       (PRINT_OPERAND): Delete.
+       (PRINT_OPERAND_ADDRESS): Delete.
+       * config/rx/rx-protos.h (rx_print_operand): Delete prototype.
+       (rx_print_operand_address): Delete prototype.
+       * config/rx/rx.c (rx_print_operand): Make static.
+       Allow %H and %L to handle CONST_DOUBLEs.
+       (rx_print_operand_address): Make static.
+       (rx_gen_move_template): Rename local variable 'template' to
+       out_template.
+       (rx_function_arg): Do not pass unknown sized objects in
+       registers.
+       (TARGET_PRINT_OPERAND): Define.
+       (TARGET_PRINT_OPERAND_ADDRESS): Define.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]