Lines Matching defs:x
29 uint16_t x = _x;
31 : [x1] "=Q" (x)
32 : [x2] "0" (x)
34 return x;
44 uint32_t x = _x;
45 asm volatile ("bswap %[x]"
46 : [x] "+r" (x)
48 return x;
55 #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \
56 rte_constant_bswap16(x) : \
57 rte_arch_bswap16(x)))
59 #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \
60 rte_constant_bswap32(x) : \
61 rte_arch_bswap32(x)))
63 #define rte_bswap64(x) ((uint64_t)(__builtin_constant_p(x) ? \
64 rte_constant_bswap64(x) : \
65 rte_arch_bswap64(x)))
74 #define rte_cpu_to_le_16(x) (x)
75 #define rte_cpu_to_le_32(x) (x)
76 #define rte_cpu_to_le_64(x) (x)
78 #define rte_cpu_to_be_16(x) rte_bswap16(x)
79 #define rte_cpu_to_be_32(x) rte_bswap32(x)
80 #define rte_cpu_to_be_64(x) rte_bswap64(x)
82 #define rte_le_to_cpu_16(x) (x)
83 #define rte_le_to_cpu_32(x) (x)
84 #define rte_le_to_cpu_64(x) (x)
86 #define rte_be_to_cpu_16(x) rte_bswap16(x)
87 #define rte_be_to_cpu_32(x) rte_bswap32(x)
88 #define rte_be_to_cpu_64(x) rte_bswap64(x)