2 * target-specific swap() definitions
4 * Copyright (c) 2003 Fabrice Bellard
6 * SPDX-License-Identifier: LGPL-2.1-or-later
11 #include "exec/cpu-defs.h"
12 #include "exec/tswap.h"
14 #if TARGET_LONG_SIZE == 4
15 #define tswapl(s) tswap32(s)
16 #define bswaptls(s) bswap32s(s)
18 #define tswapl(s) tswap64(s)
19 #define bswaptls(s) bswap64s(s)