This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCHv2] powerpc: ABI change - add HWCAP/HWCAP2/platform info to TCB
- From: Carlos Eduardo Seo <cseo at linux dot vnet dot ibm dot com>
- To: "Steven J. Munroe" <sjmunroe at us dot ibm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Tulio Machado <tuliom at linux dot vnet dot ibm dot com>
- Date: Wed, 26 Aug 2015 22:57:14 -0300
- Subject: Re: [PATCHv2] powerpc: ABI change - add HWCAP/HWCAP2/platform info to TCB
- Authentication-results: sourceware.org; auth=none
- References: <C6F0963E-DA8E-48B3-B6F6-8D6A4C399AED at linux dot vnet dot ibm dot com> <CB9B9517-3758-4392-BD63-1481EFEB558D at linux dot vnet dot ibm dot com> <201508261942 dot t7QJg9XK018375 at d01av05 dot pok dot ibm dot com>
> 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