This is the mail archive of the gcc@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]

Re: Segment register support for the i386



  In message <4scrrp55.fsf@localhost.localdomain>you write:
  > Sergey Larin <larin@overta.ru> writes:
  > 
  > 
  > [...]
  > 
  > > Porting would be much more easier if all that we need is *.h file and
  > > instructions description file (*.id) that contains
  > > all kinds of machine instructions description of particular target
  > > look like RTL expressions.
  > 
  > Really I think only about something like this:
  > 
  > (define-address "VOID" ; for any mode
  >   (match_operand:HI 0 "immediate_operand" "")
  >   "/* remain C condition */"
  >   "%0"
  >   [(set_attr "cost" "4")])
You should search the 1997 archives -- I believe Michael Hayes started a
discussion about how to describe addressing modes in the md file.

jeff


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