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: Update longlong.h from GCC 4.7.0


On Fri, 16 Mar 2012, Roland McGrath wrote:

> > This patch updates longlong.h from GCC 4.7.0 so that we always use
> > __builtin_clzll and __builtin_ctzll for x86-64 DImode to support x32.
> > OK to install?
> 
> Do all supported GCC versions have the ll variants of the builtins?
> If so, then the right thing to do is just to update longlong.h wholesale to
> the GCC trunk version verbatim.  For that, the log entry doesn't need to
> list the individual changes, just "Update from GCC."

As I noted, there have been changes to longlong.h in glibc that aren't in 
GCC, and changes in GCC that aren't in glibc, so the (nonsubstantive) 
changes from glibc do need merging to GCC before we can just copy in the 
GCC version - but basically copying in the GCC version is what I want (and 
after that, trying to make changes in both places at once).

-- 
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]