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: Avoid explicit use of machine modes (8/n) Hook-izeINIT_TARGET_OPTABS


David Edelsohn <dje@watson.ibm.com> writes:

> 	Notice that your comments in rs6000_init_libfuncs are about ABIs.
> I think a better structure would be
>
> 	if (DEFAULT_ABI == ABI_V4)
> 	  {
> 	    PPC32 ABI quad FP ops
> 	  }
> 	else
> 	  {
> 	    if (TARGET_XCOFF
> 		&& (! TARGET_POWER2 && ! TARGET_POWERPC))
> 	      {
> 		trunc ops
> 	      }
>
> 	    _xlq ops
> 	  }

Thanks.  I'm already working on a successor patch to this one; I'll
make changes along these lines at the same time.  (The _xlq* names
known to GCC don't cover as much ground as the _q_* names.  Are there
more?)

zw


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