memcpy_xscale.S (256281) | memcpy_xscale.S (271337) |
---|---|
1/* $NetBSD: memcpy_xscale.S,v 1.1 2003/10/14 07:51:45 scw Exp $ */ 2 3/* 4 * Copyright 2003 Wasabi Systems, Inc. 5 * All rights reserved. 6 * 7 * Written by Steve C. Woodford for Wasabi Systems, Inc. 8 * --- 22 unchanged lines hidden (view full) --- 31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35 * POSSIBILITY OF SUCH DAMAGE. 36 */ 37 38#include <machine/asm.h> | 1/* $NetBSD: memcpy_xscale.S,v 1.1 2003/10/14 07:51:45 scw Exp $ */ 2 3/* 4 * Copyright 2003 Wasabi Systems, Inc. 5 * All rights reserved. 6 * 7 * Written by Steve C. Woodford for Wasabi Systems, Inc. 8 * --- 22 unchanged lines hidden (view full) --- 31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 35 * POSSIBILITY OF SUCH DAMAGE. 36 */ 37 38#include <machine/asm.h> |
39__FBSDID("$FreeBSD: stable/10/lib/libc/arm/string/memcpy_xscale.S 135683 2004-09-23 23:11:32Z cognet $"); | 39__FBSDID("$FreeBSD: stable/10/lib/libc/arm/string/memcpy_xscale.S 271337 2014-09-09 22:24:01Z ian $"); |
40 41/* LINTSTUB: Func: void *memcpy(void *dst, const void *src, size_t len) */ 42ENTRY(memcpy) 43 pld [r1] 44 cmp r2, #0x0c 45 ble .Lmemcpy_short /* <= 12 bytes */ 46 mov r3, r0 /* We must not clobber r0 */ 47 --- 1728 unchanged lines hidden (view full) --- 1776 ldrh r2, [r1, #0x09] 1777 ldrb r1, [r1, #0x0b] 1778 str r3, [r0, #0x01] 1779 str ip, [r0, #0x05] 1780 strh r2, [r0, #0x09] 1781 strb r1, [r0, #0x0b] 1782 bx lr 1783#endif /* !_STANDALONE */ | 40 41/* LINTSTUB: Func: void *memcpy(void *dst, const void *src, size_t len) */ 42ENTRY(memcpy) 43 pld [r1] 44 cmp r2, #0x0c 45 ble .Lmemcpy_short /* <= 12 bytes */ 46 mov r3, r0 /* We must not clobber r0 */ 47 --- 1728 unchanged lines hidden (view full) --- 1776 ldrh r2, [r1, #0x09] 1777 ldrb r1, [r1, #0x0b] 1778 str r3, [r0, #0x01] 1779 str ip, [r0, #0x05] 1780 strh r2, [r0, #0x09] 1781 strb r1, [r0, #0x0b] 1782 bx lr 1783#endif /* !_STANDALONE */ |
1784END(memcpy) |
|