[PATCHv2] powerpc: ABI change - add HWCAP/HWCAP2/platform info to TCB

Carlos Eduardo Seo cseo@linux.vnet.ibm.com
Thu Aug 27 01:57:00 GMT 2015



> 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


More information about the Libc-alpha mailing list