[llvm-commits] [Patch} ARM EABI memset

Renato Golin renato.golin at arm.com
Fri May 20 02:04:23 PDT 2011


RTABI chapter 4.3.4 specifies __eabi_mem* calls. Specifically,
__eabi_memset accepts parameters (ptr, size, value) in a different
order than GNU's memset (ptr, value, size), therefore the special
lowering in AAPCS mode.

This patch includes the lib call naming, specially lowering when in
EABI mode and additional test to make sure we get the right behaviour
on both modes.

Extracted yesterday. Please, let me know if it's good, so I can commit.

cheers,
--renato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memset.patch
Type: text/x-diff
Size: 6065 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110520/d288d9ef/attachment.patch>


More information about the llvm-commits mailing list