PATCH: Add LP_SIZE, OP_LP, ASM_ADDR and RXX_LP to x86_64/sysdep.h
H.J. Lu
hjl.tools@gmail.com
Sat Mar 17 01:05:00 GMT 2012
On Fri, Mar 16, 2012 at 4:23 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Fri, Mar 16, 2012 at 4:03 PM, Roland McGrath <roland@hack.frob.com> wrote:
>> It's hard to evaluate the wisdom of particular macro choices without
>> seeing all the cases where they're used.
>
> I pushed hjl/x32/master branch. You can take a look to
> see how they are used.
>
>> Instead of the several MOVE_LP et al, we could just have a single macro:
>>
>> #define LP(insn) insn##q
>
> Good idea.
>
>> (could be a different name). For parity, it seems appropriate to define
>> that for !__ASSEMBLER__ too, in case they are needed in asm().
>>
>
Here is the updated patch to define LP_OP instead of XXX_LP. I also
added LP_OP for !__ASSEMBLER__. OK to install?
Thanks.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libc-reg.patch
Type: text/x-patch
Size: 1957 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120317/b9147ea7/attachment.bin>
More information about the Libc-alpha
mailing list