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: [PATCHv5] - powerpc: Add hwcap/hwcap2/platform data to TCB.


On Mon, 2015-10-26 at 22:26 +0100, Andreas Schwab wrote:
> Steven Munroe <munroesj@linux.vnet.ibm.com> writes:
> 
> > Are you sure current an future versions of GCC will handle this
> > promotion to 64-bit correctly across the shift and or operation?
> 
> What do you mean?  The expression has a well-defined meaning.  There is
> no room for interpretation.
> 
The current patch is correct as is, so this just a matter of taste.

I find types of variables easier to follow than internal casts. 

And it seems like GLIBC had a bug recently specific to shifting 32-bit
values.

But I will let Carlos decide what he wants to do.




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