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, Mar 16, 2012 at 11:00 AM, Roland McGrath <roland@hack.frob.com> 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."
>

The minimum GCC 4.3 required by glibc supports the ll variants of the builtins.
However, I don't know if longlong.h from GCC 4.7.0 will work with GCC 4.3, 4.4,
4.5 and 4.6 for all targets.  I am not sure if it is a good idea to do
a wholesale
update to GCC 4.7.0.

-- 
H.J.


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