1/*
2 * Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the OpenBeOS License.
4 */
5
6#define FUNCTION(x) .global x; .type x,@function; x
7
8#warning MIPSEL: fixme
9
10.text
11
12/* uint16 __swap_int16(uint16 value)
13 *                     r3
14 */
15FUNCTION(__swap_int16):
16		jr	$ra
17
18
19/* uint32 __swap_int32(uint32 value)
20 *                     r3
21 */
22FUNCTION(__swap_int32):
23		jr	$ra
24
25
26/* uint64 __swap_int64(uint64 value)
27 *                     r3/r4
28 */
29FUNCTION(__swap_int64):
30		jr	$ra
31
32
33/* TODO: The following functions can surely be optimized. A simple optimization
34 * would be to define macros with the contents of the __swap_int{32,64}
35 * functions and use those instead of calling the functions.
36 */
37
38/* float __swap_float(float value)
39 *					  f1
40 */
41FUNCTION(__swap_float):
42		jr	$ra
43
44/* double __swap_double(double value)
45 *						f1
46 */
47FUNCTION(__swap_double):
48		jr	$ra
49
50