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: PowerPC64 power7 strncpy stack handling and cfi


Alan Modra <amodra@gmail.com> writes:

> This patch moves the frame setup and teardown to immediately around
> the single memset call, as has been done for power8.  I've also
> decreased FRAMESIZE to that needed to save the two callee-saved
> registers used.  Plus added cfi.
>
> Tested on power7 powerpc64-linux.
>
> 	* sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
> 	Move LR save and frame setup/teardown and LR restore to
> 	immediately around memset call.  Provide cfi.

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>

-- 
Tulio Magno


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