Searched refs:__builtin_bswap16 (Results 1 – 25 of 68) sorted by relevance
123
38 static inline unsigned short __builtin_bswap16(unsigned short a) in __builtin_bswap16() function44 #define ENDSWAP_16(x) (__builtin_bswap16 (x))
34 #if defined(_PY_HAVE_BUILTIN_BSWAP) || _Py__has_builtin(__builtin_bswap16) in _Py_bswap16()35 return __builtin_bswap16(word); in _Py_bswap16()
31 #if LOCAL_GCC_PREREQ(4,8) || __has_builtin(__builtin_bswap16)44 return __builtin_bswap16(x); in BSwap16()
51 #if LOCAL_GCC_PREREQ(4, 8) || __has_builtin(__builtin_bswap16)70 return __builtin_bswap16(x); in BSwap16()
55 #if LOCAL_GCC_PREREQ(4, 8) || __has_builtin(__builtin_bswap16)74 return __builtin_bswap16(x); in BSwap16()
87 # define cpu_to_le16(v) ((__force __le16)__builtin_bswap16(v))88 # define le16_to_cpu(v) (__builtin_bswap16((__force u16)(v)))
62 dnl Dtermine whether the compiler has the __builtin_bswap16() intrinsic which74 return __builtin_bswap16 (0) ;,79 [Compiler has the __builtin_bswap16 intrinsic])
87 # define htole16(x) __builtin_bswap16(x)89 # define le16toh(x) __builtin_bswap16(x)
76 #define cpu_to_le16(x) (__builtin_bswap16(x))79 #define le16_to_cpu(x) (__builtin_bswap16(x))
113 # define htole16(x) __builtin_bswap16(x)115 # define le16toh(x) __builtin_bswap16(x)
20 int h3 = __builtin_bswap16(0x1234) == 0x3412 ? 1 : f();
23 return __builtin_bswap16(x); in ByteSwap()
73 #define htole16(v) __builtin_bswap16(v)76 #define le16toh(v) __builtin_bswap16(v)
24 inline uint16_t Bswap(uint16_t x) { return __builtin_bswap16(x); } in Bswap()
45 return __builtin_bswap16(x);
25 int h3 = __builtin_bswap16(0x1234) == 0x3412 ? 1 : f();
89 return __builtin_bswap16(x); in byteswap16()
19 decltype(__builtin_bswap16(0)) bswap16 = 42;
97 # define REVERSE_ENDIAN_16(_Number) __builtin_bswap16(_Number)
144 vus = vec_splats(__builtin_bswap16(us)); in test_core()177 vus = vec_insert(__builtin_bswap16(us), vus2, 0); in test_core()203 us = __builtin_bswap16(vec_extract(vus, 0)); in test_core()
30 return __builtin_bswap16(x); in ByteSwap()
46 X(uint16_t, __builtin_bswap16) \
31 return __builtin_bswap16(x); in ByteSwap()
40 #define bswap16(x) __builtin_bswap16((x))