NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/53027: macro renaming of functions discourages optimization



The following reply was made to PR lib/53027; it has been noted by GNATS.

From: coypu%sdf.org@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/53027: macro renaming of functions discourages optimization
Date: Wed, 14 Feb 2018 13:43:15 +0000

 This is the header change:
 
 --- math.h	16 Sep 2013 15:54:42 -0000	1.63
 +++ math.h	14 Feb 2018 13:37:17 -0000
 @@ -57,16 +57,16 @@
  #define	__fpmacro_unary_floating(__name, __arg0)			\
  	/* LINTED */							\
  	((sizeof (__arg0) == sizeof (float))				\
 -	?	__ ## __name ## f (__arg0)				\
 +	?	__name ## f (__arg0)					\
  	: (sizeof (__arg0) == sizeof (double))				\
 -	?	__ ## __name ## d (__arg0)				\
 -	:	__ ## __name ## l (__arg0))
 +	?	__name ## d (__arg0)					\
 +	:	__name ## l (__arg0))
  #else
  #define	__fpmacro_unary_floating(__name, __arg0)			\
  	/* LINTED */							\
  	((sizeof (__arg0) == sizeof (float))				\
 -	?	__ ## __name ## f (__arg0)				\
 -	:	__ ## __name ## d (__arg0))
 +	?	__name ## f (__arg0)					\
 +	:	__name ## d (__arg0))
  #endif /* __HAVE_LONG_DOUBLE */
  
  /*
 
 
 
 then, need to define weak aliases isinf->__isinf, and so on.
 


Home | Main Index | Thread Index | Old Index