bcopy.S (165903) | bcopy.S (184548) |
---|---|
1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from locore.s. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 16 unchanged lines hidden (view full) --- 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 */ 31 32#include <machine/asm.h> | 1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from locore.s. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 16 unchanged lines hidden (view full) --- 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 */ 31 32#include <machine/asm.h> |
33__FBSDID("$FreeBSD: head/lib/libc/i386/string/bcopy.S 165903 2007-01-09 00:28:16Z imp $"); | 33__FBSDID("$FreeBSD: head/lib/libc/i386/string/bcopy.S 184548 2008-11-02 01:28:47Z peter $"); |
34 35#if 0 36 RCSID("$NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc Exp $") 37#endif 38 39 /* 40 * (ov)bcopy (src,dst,cnt) 41 * ws@tools.de (Wolfgang Solfrank, TooLs GmbH) +49-228-985800 --- 50 unchanged lines hidden (view full) --- 92 subl $3,%esi 93 subl $3,%edi 94 rep 95 movsl 96 popl %edi 97 popl %esi 98 cld 99 ret | 34 35#if 0 36 RCSID("$NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc Exp $") 37#endif 38 39 /* 40 * (ov)bcopy (src,dst,cnt) 41 * ws@tools.de (Wolfgang Solfrank, TooLs GmbH) +49-228-985800 --- 50 unchanged lines hidden (view full) --- 92 subl $3,%esi 93 subl $3,%edi 94 rep 95 movsl 96 popl %edi 97 popl %esi 98 cld 99 ret |
100#ifdef MEMCOPY 101END(memcpy) 102#else 103#ifdef MEMMOVE 104END(memmove) 105#else 106END(bcopy) 107#endif 108#endif |
|