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]

RFC: Allowing target specific extensions to RTL checking


Hi Guys,

  Is it possible for a target to override the normal RTL checking so
  that extra flags are permitted on some types of RTL ?

  The situation I have is with the RX port, where I want to be able to
  set the frame_related bit on CONST_INTs to indicate that they should
  be exempt from the checking against rx_max_constant_size performed by
  LEGITIMATE_CONSTANT_P.  I can patch the definition of
  RTX_FRAME_RELATED_P in rtl.h but this a global hack, not a target
  specific one, and I suspect would be rejected if I were to submit it.
  
  So is there some way that I can say that for the RX target the
  frame_related bit on CONST_INTs can be set ?

Cheers
  Nick

  


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