1 //------------------------------------------------------------------------------
3 // Copyright (c) 2008-2009 Apple Inc. All rights reserved.
5 // All rights reserved. This program and the accompanying materials
6 // are licensed and made available under the terms and conditions of the BSD License
7 // which accompanies this distribution. The full text of the license may be found at
8 // http://opensource.org/licenses/bsd-license.php
10 // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 //------------------------------------------------------------------------------
16 EXPORT __aeabi_memcpy4
18 AREA Memcpy4, CODE, READONLY
24 ; IN VOID *Destination,
31 subs r2, r2, #32 ; 0x20
34 ldmcsia r1!, {r3, r4, ip, lr}
35 stmcsia r0!, {r3, r4, ip, lr}
36 ldmcsia r1!, {r3, r4, ip, lr}
37 stmcsia r0!, {r3, r4, ip, lr}
38 subcss r2, r2, #32 ; 0x20
42 ldmcsia r1!, {r3, r4, ip, lr}
43 stmcsia r0!, {r3, r4, ip, lr}
52 _memcpy4_lastbytes_aligned