This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH 3/5] Make common fmax implementation generic.


On Tue, 30 Aug 2016, Paul E. Murphy wrote:

> Also update aarch64 to ensure the correct s_fmin.c is included.
> The include order favors including the generated copy.
> 
> 	 * math/Makefile: (gen-libm-calls): Add s_fmax.
> 	 (libm-calls): Remove above.
> 
> 	 * math/s_fmax.c: Refactor into ...
> 	 * math/s_fmax_template.c: New file.
> 	 * math/s_fmaxf.c: Removed.
> 	 * math/s_fmaxl.c: Removed.
> 
> 	 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
> 	 (LDOUBLE_fmaxl_libm_version): New macro.
> 
> 	 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
> 	 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
> 
> 	* sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
> 	s_fmin.c to pick the aarch64 version of the file.
> 	* sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
> 	* sysdeps/aarch64/fpu/s_fminf.c: Likewise.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


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