b6cbf7203b
This patch imports the unmodified current version of NetBSD libc. The NetBSD includes are in /nbsd_include, while the libc code itself is split between lib/nbsd_libc and common/lib/libc.
17 lines
331 B
ArmAsm
17 lines
331 B
ArmAsm
/* $NetBSD: byte_swap_8.S,v 1.1 2010/01/14 02:09:46 joerg Exp $ */
|
|
|
|
/*
|
|
* Written by Frank van der Linden (fvdl@wasabisystems.com)
|
|
* Public Domain.
|
|
*/
|
|
|
|
#include <machine/asm.h>
|
|
|
|
#if defined(LIBC_SCCS)
|
|
RCSID("$NetBSD: byte_swap_8.S,v 1.1 2010/01/14 02:09:46 joerg Exp $")
|
|
#endif
|
|
|
|
ENTRY(bswap64)
|
|
bswapq %rdi
|
|
movq %rdi,%rax
|
|
ret
|