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: Remove no-longer-needed fp-bit target macros


> From: "Joseph S. Myers" <joseph@codesourcery.com>
> Date: Fri, 5 Sep 2014 19:21:04 +0200

> This patch removes some fp-bit target macros that are no longer
> needed:
> 
> * __make_dp was not really designed as a target macro, but CRIS
>   defined it in cris.h anyway for optimization purposes

Minor correction here: it was out of necessity due to ABI
restrictions for gcc intrinsic functions, not for optimization
purposes.  Those restrictions may be long gone now, but it used
to be that parameters for gcc intrinsic functions ("libgcc
functions") were not allowed to be passed "by reference"; as
pointers.  I've lost the details but I think I'm right to blame
the gcc intrinsics interface, not the CRIS port.  (Other than me
not taking on removal of that restriction, of course.)

> (so making it
>   show up on lists of target macros).  Since CRIS no longer uses
>   fp-bit, that definition is no longer needed.

Certainly.  I just missed this when doing the soft-fp
conversion.  Thanks for being thorough.

brgds, H-P


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