[llvm-commits] ARM EABI memset

Renato Golin rengolin at systemcall.org
Sun May 22 13:24:14 PDT 2011


Hi everyone,

This is a really simple patch, did anyone see this?

I'm preparing some patches we have locally that I want to send, but I
want to do one at a time.

cheers,
--renato

On 21 May 2011 22:03, Renato Golin <rengolin at systemcall.org> wrote:
> 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
>



-- 
cheers,
--renato

http://systemcall.org/

Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm



More information about the llvm-commits mailing list