diff options
Diffstat (limited to 'sys/lib/libkern/arch/mips/htons.S')
-rw-r--r-- | sys/lib/libkern/arch/mips/htons.S | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sys/lib/libkern/arch/mips/htons.S b/sys/lib/libkern/arch/mips/htons.S deleted file mode 100644 index b1d5a60fa4a..00000000000 --- a/sys/lib/libkern/arch/mips/htons.S +++ /dev/null @@ -1,19 +0,0 @@ -/* $OpenBSD: htons.S,v 1.5 1998/03/01 16:10:32 niklas Exp $ */ - -#include "DEFS.h" - - -/* - * netorder = htons(hostorder) - * hostorder = ntohs(netorder) - */ -LEAF(htons) -ALEAF(ntohs) - .set noreorder - srl v0, a0, 8 - and v0, v0, 0xff - sll v1, a0, 8 - and v1, v1, 0xff00 - j ra - or v0, v0, v1 -END(htons) |