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]

Re: PATCH: pass outgoing float arguments in both floating and general registers in indirect calls using 32 bit ABI


  In message <200109221835.f8MIZcnS023564@hiauly1.hia.nrc.ca>you write:
  > > Floating arguments should be passed in both general and floating register
  > s
  > > in indirect ($$dyncall) calls in the 32 bit ABI when using the HP assembl
  > er.
  > > The reason is there is no way to specify argument locations in static
  > > functions when the HP assembler is used.  The ABI requires that arguments
  > > in indirect calls be passed in general registers.  However, the default
  > > location is in the floating registers and this is where a static function
  > > expects floating arguments.  This change makes gcc consist in its behavio
  > ur
  > > with the HP compiler.
  > > 
  > > Bootstrap checked with both gnu and HP assembler on hppa1.1-hp-hpux10.20.
  > > 
  > > OK?
  > > 
  > 
  > Oops.
  > 
  > -- 
  > J. David Anglin                                  dave.anglin@nrc.ca
  > National Research Council of Canada              (613) 990-0752 (FAX: 952-6
  > 605)
  > 
  > 2001-09-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
  > 
  > 	* pa.c (function_arg): Pass floating arguments in both general and
  > 	floating registers in indirect (dynamic) calls when generating code
  > 	for the 32 bit ABI and the HP assembler.
This is fine.  Please install.

Thanks,
jeff


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