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: [PATCHv2] powerpc: ABI change - add HWCAP/HWCAP2/platform info to TCB



> On Aug 26, 2015, at 4:41 PM, Steve Munroe <sjmunroe@us.ibm.com> wrote:
> 
> 
> As lwz will "right justify" the word in the 64-bit register, there is no need to shift it right before the or ("|") operation. 
> 
> __tcb_hwcap = (h1 << 32) | h2;
> 
> Should be sufficient,
> 


Got it. Iâll change that. 

Thanks,

-- 
Carlos Eduardo Seo
Software Engineer - Linux on Power Toolchain
cseo@linux.vnet.ibm.com

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