swab.S (8af1452cf8dd1b33da881f84e445d5981eaa9613) | swab.S (e6d808aee319c457c0f73f906b8a2b1d888f793b) |
---|---|
1/* 2 * Copyright (c) 1993,94 Winning Strategies, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 19 unchanged lines hidden (view full) --- 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#if defined(LIBC_RCS) && !defined(lint) 32 .text 33 .asciz "$FreeBSD$" 34#endif 35 | 1/* 2 * Copyright (c) 1993,94 Winning Strategies, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 19 unchanged lines hidden (view full) --- 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#if defined(LIBC_RCS) && !defined(lint) 32 .text 33 .asciz "$FreeBSD$" 34#endif 35 |
36#include "DEFS.h" | 36#include <machine/asm.h> |
37 38/* 39 * void 40 * swab (const void *src, void *dst, size_t len) 41 * copy len bytes from src to dst, swapping adjacent bytes 42 * 43 * On the i486, this code is negligibly faster than the code generated 44 * by gcc at about half the size. If my i386 databook is correct, it --- 59 unchanged lines hidden --- | 37 38/* 39 * void 40 * swab (const void *src, void *dst, size_t len) 41 * copy len bytes from src to dst, swapping adjacent bytes 42 * 43 * On the i486, this code is negligibly faster than the code generated 44 * by gcc at about half the size. If my i386 databook is correct, it --- 59 unchanged lines hidden --- |