PowerPC64 power7 strncpy stack handling and cfi

Tulio Magno Quites Machado Filho tuliom@linux.vnet.ibm.com
Sat Oct 21 00:12:00 GMT 2017


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



More information about the Libc-alpha mailing list