[llvm-commits] ARM EABI memset

Renato Golin rengolin at systemcall.org
Sat May 21 14:03:16 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.

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/20110521/b90fc471/attachment.patch>


More information about the llvm-commits mailing list