/xen/tools/tests/x86_emulator/ |
A D | simd.c | 8 # define eq(x, y) ({ \ argument 16 # define eq(x, y) ({ \ argument 185 # define low_half(x) (x) argument 202 # define recip(x) ({ \ argument 209 # define rsqrt(x) ({ \ argument 328 # define swap(x) ({ \ argument 392 # define swap(x) ({ \ argument 415 # define swap(x) ({ \ argument 459 # define recip(x) ({ \ argument 474 # define swap(x) ({ \ argument [all …]
|
A D | opmask.S | 2 # define R(x) e##x argument 3 # define DATA(x) x argument 6 # define R(x) r##x argument 8 # define R(x) e##x argument 10 # define DATA(x) x(%rip) argument 14 # define _(x) x##b argument 17 # define _(x) x##w argument 19 # define WIDEN(x) x##bw argument 21 # define _(x) x##d argument 23 # define WIDEN(x) x##wd argument [all …]
|
A D | simd-sha.c | 21 # define shift_s(d, x, n) ({ \ argument 36 # define eq(x, y) to_bool((x) == (y)) argument 37 # define blend(x, y, sel) \ argument 59 # define rot_v(d, x, n) ({ \ argument 66 # define shift_s(d, x, n) ({ \ argument 71 # define vshift(d, x, n) \ argument 84 #define shl_s(x, n) shift_s(l, x, n) argument 86 #define shr_s(x, n) shift_s(r, x, n) argument 88 #define swap(x) shuf(x, 0b00011011) argument 89 #define vshl(x, n) vshift(l, x, n) argument [all …]
|
A D | simd-clmul.c | 9 # define lane_shr_unit(x) \ argument 18 # define eq(x, y) to_bool((x) == (y)) argument 25 # define clmul(x, y, c) CLMUL(pclmulqdq128, x, y, c) argument 35 #define clmul_ll(x, y) clmul(x, y, 0x00) argument 36 #define clmul_hl(x, y) clmul(x, y, 0x01) argument 37 #define clmul_lh(x, y) clmul(x, y, 0x10) argument 38 #define clmul_hh(x, y) clmul(x, y, 0x11) argument 42 # define lane_shr_i(x, n) ({ \ argument 47 # define lane_shr_v(x, n) ({ \ argument 60 # define lane_shr_v(x, n) ({ \ argument [all …]
|
A D | simd-fma.c | 23 # define eq(x, y) to_bool((x) == (y)) argument 28 # define fmaddsub(x, y, z) BR(vfmaddsubps, _mask, x, y, z, ~0) argument 30 # define fmaddsub(x, y, z) BR(vfmaddsubpd, _mask, x, y, z, ~0) argument 34 # define addsub(x, y) __builtin_ia32_addsubps(x, y) argument 36 # define fmaddsub(x, y, z) __builtin_ia32_vfmaddsubps(x, y, z) argument 39 # define addsub(x, y) __builtin_ia32_addsubpd(x, y) argument 41 # define fmaddsub(x, y, z) __builtin_ia32_vfmaddsubpd(x, y, z) argument 46 # define addsub(x, y) __builtin_ia32_addsubps256(x, y) argument 51 # define addsub(x, y) __builtin_ia32_addsubpd256(x, y) argument 59 # define addsub(x, y) fmaddsub(x, broadcast(1), y) argument [all …]
|
A D | simd-aes.c | 8 # define imc(x) ((vec_t)__builtin_ia32_aesimc128((vdi_t)(x))) argument 11 # define imc(x) ({ \ argument 23 # define imc(x) ({ \ argument 41 # define eq(x, y) (B(pcmpeqb, _mask, (vqi_t)(x), (vqi_t)(y), -1) == ALL_TRUE) argument 42 # define aes(op, x, y) ((vec_t)AES(op, (vqi_t)(x), (vqi_t)(y))) argument 46 # define aes(op, x, y) ((vec_t)AES(op, (vqi_t)(x), (vqi_t)(y))) argument 49 # define aes(op, x, y) ((vec_t)__builtin_ia32_aes ## op ## 128((vdi_t)(x), (vdi_t)(y))) argument 51 # define eq(x, y) to_bool((x) == (y)) argument 63 vec_t x, y; in aes_test() local
|
A D | simd-gf.c | 16 # define eq(x, y) (B(pcmpeqb, _mask, (vqi_t)(x), (vqi_t)(y), -1) == ALL_TRUE) argument 17 # define mul(x, y) GF(mulb, _mask, (vqi_t)(x), (vqi_t)(y), (vqi_t)undef(), ~0) argument 18 # define transform(m, dir, x, c) ({ \ argument 27 # define bcstq(x) ({ \ argument 34 # define bcstq(x) ((vdi_t){x, x}) argument 37 # define eq(x, y) to_bool((x) == (y)) argument 38 # define mul(x, y) GF(mulb, , (vqi_t)(x), (vqi_t)(y)) argument 39 # define transform(m, dir, x, c) ({ \ argument
|
/xen/xen/include/xen/byteorder/ |
A D | big_endian.h | 87 #define __cpu_to_le64s(x) __swab64s((x)) argument 88 #define __le64_to_cpus(x) __swab64s((x)) argument 89 #define __cpu_to_le32s(x) __swab32s((x)) argument 90 #define __le32_to_cpus(x) __swab32s((x)) argument 91 #define __cpu_to_le16s(x) __swab16s((x)) argument 92 #define __le16_to_cpus(x) __swab16s((x)) argument 93 #define __cpu_to_be64s(x) do {} while (0) argument 94 #define __be64_to_cpus(x) do {} while (0) argument 95 #define __cpu_to_be32s(x) do {} while (0) argument 96 #define __be32_to_cpus(x) do {} while (0) argument [all …]
|
A D | little_endian.h | 87 #define __cpu_to_le64s(x) do {} while (0) argument 88 #define __le64_to_cpus(x) do {} while (0) argument 89 #define __cpu_to_le32s(x) do {} while (0) argument 90 #define __le32_to_cpus(x) do {} while (0) argument 91 #define __cpu_to_le16s(x) do {} while (0) argument 93 #define __cpu_to_be64s(x) __swab64s((x)) argument 94 #define __be64_to_cpus(x) __swab64s((x)) argument 95 #define __cpu_to_be32s(x) __swab32s((x)) argument 96 #define __be32_to_cpus(x) __swab32s((x)) argument 97 #define __cpu_to_be16s(x) __swab16s((x)) argument [all …]
|
A D | swab.h | 48 #define ___constant_swab16(x) \ argument 83 # define __arch__swab16p(x) __arch__swab16(*(x)) argument 107 # define __swab16(x) \ argument 111 # define __swab32(x) \ argument 115 # define __swab64(x) \ argument 120 # define __swab16(x) __fswab16(x) argument 121 # define __swab32(x) __fswab32(x) argument 122 # define __swab64(x) __fswab64(x) argument 130 static inline __u16 __swab16p(const __u16 *x) in __swab16p() 143 static inline __u32 __swab32p(const __u32 *x) in __swab32p() [all …]
|
/xen/tools/libxl/ |
A D | libxl_osdeps.h | 91 # define htole16(x) (x) argument 93 # define le16toh(x) (x) argument 96 # define htole32(x) (x) argument 98 # define le32toh(x) (x) argument 101 # define htole64(x) (x) argument 103 # define le64toh(x) (x) argument 105 # define htobe16(x) (x) argument 107 # define be16toh(x) (x) argument 110 # define htobe32(x) (x) argument 112 # define be32toh(x) (x) argument [all …]
|
/xen/stubdom/grub/ |
A D | osdep.h | 5 #define swap32(x) bswap_32(x) argument 6 #define swap16(x) bswap_16(x) argument 10 #define htons(x) (x) argument 11 #define ntohs(x) (x) argument 12 #define htonl(x) (x) argument 13 #define ntohl(x) (x) argument 15 #define htons(x) swap16(x) argument 16 #define ntohs(x) swap16(x) argument 17 #define htonl(x) swap32(x) argument 25 #define P(x) x argument [all …]
|
/xen/xen/include/xen/ |
A D | perfc.h | 93 #define perfc_incr_histo(x,v) ((void)0) argument 105 #define perfc_value(x) (0) argument 106 #define perfc_valuea(x,y) (0) argument 107 #define perfc_set(x,v) ((void)0) argument 108 #define perfc_seta(x,y,v) ((void)0) argument 109 #define perfc_incr(x) ((void)0) argument 110 #define perfc_decr(x) ((void)0) argument 111 #define perfc_incra(x,y) ((void)0) argument 112 #define perfc_decra(x,y) ((void)0) argument 113 #define perfc_add(x,y) ((void)0) argument [all …]
|
A D | kernel.h | 15 #define min(x,y) ({ \ argument 21 #define max(x,y) ({ \ argument 33 #define min_t(type,x,y) \ argument 35 #define max_t(type,x,y) \ argument 42 #define MIN(x,y) ((x) < (y) ? (x) : (y)) argument 43 #define MAX(x,y) ((x) > (y) ? (x) : (y)) argument 61 #define typecheck(type,x) \ argument
|
A D | prefetch.h | 37 #define prefetch(x) __builtin_prefetch(x) argument 41 #define prefetchw(x) __builtin_prefetch(x,1) argument 45 #define spin_lock_prefetch(x) prefetchw(x) argument
|
/xen/xen/common/libelf/ |
A D | libelf-private.h | 34 #define bswap_16(x) swab16(x) argument 35 #define bswap_32(x) swab32(x) argument 36 #define bswap_64(x) swab64(x) argument 54 #define bswap_16(x) bswap16(x) argument 55 #define bswap_32(x) bswap32(x) argument 56 #define bswap_64(x) bswap64(x) argument 59 #define bswap_16(x) swap16(x) argument 60 #define bswap_32(x) swap32(x) argument 61 #define bswap_64(x) swap64(x) argument 64 #define bswap_16(x) bswap16(x) argument [all …]
|
/xen/xen/include/asm-x86/ |
A D | page.h | 66 #define l1e_get_pfn(x) \ argument 68 #define l2e_get_pfn(x) \ argument 70 #define l3e_get_pfn(x) \ argument 72 #define l4e_get_pfn(x) \ argument 82 #define l1e_get_paddr(x) \ argument 84 #define l2e_get_paddr(x) \ argument 86 #define l3e_get_paddr(x) \ argument 88 #define l4e_get_paddr(x) \ argument 182 #define l1e_has_changed(x,y,flags) \ argument 184 #define l2e_has_changed(x,y,flags) \ argument [all …]
|
A D | io.h | 8 #define readb(x) (*(volatile uint8_t *)(x)) argument 9 #define readw(x) (*(volatile uint16_t *)(x)) argument 10 #define readl(x) (*(volatile uint32_t *)(x)) argument 11 #define readq(x) (*(volatile uint64_t *)(x)) argument 12 #define writeb(d,x) (*(volatile uint8_t *)(x) = (d)) argument 13 #define writew(d,x) (*(volatile uint16_t *)(x) = (d)) argument 14 #define writel(d,x) (*(volatile uint32_t *)(x) = (d)) argument 15 #define writeq(d,x) (*(volatile uint64_t *)(x) = (d)) argument 17 #define __OUT1(s,x) \ argument 23 #define __OUT(s,s1,x) \ argument
|
A D | uaccess.h | 40 #define get_user(x,ptr) \ argument 59 #define put_user(x,ptr) \ argument 82 #define __get_user(x,ptr) \ argument 104 #define __put_user(x,ptr) \ argument 107 #define __put_user_nocheck(x, ptr, size) \ argument 114 #define __put_user_check(x, ptr, size) \ argument 122 #define __get_user_nocheck(x, ptr, size) \ argument 129 #define __get_user_check(x, ptr, size) \ argument 138 #define __m(x) (*(const struct __large_struct *)(x)) argument 145 #define __put_user_asm(x, addr, err, itype, rtype, ltype, errret) \ argument [all …]
|
/xen/xen/include/xen/libfdt/ |
A D | libfdt_env.h | 12 #define fdt16_to_cpu(x) be16_to_cpu(x) argument 13 #define cpu_to_fdt16(x) cpu_to_be16(x) argument 14 #define fdt32_to_cpu(x) be32_to_cpu(x) argument 15 #define cpu_to_fdt32(x) cpu_to_be32(x) argument 16 #define fdt64_to_cpu(x) be64_to_cpu(x) argument 17 #define cpu_to_fdt64(x) cpu_to_be64(x) argument
|
/xen/tools/libfsimage/zfs/zfs-include/ |
A D | spa.h | 34 #define BF32_GET(x, low, len) BF32_DECODE(x, low, len) argument 37 #define BF32_SET(x, low, len, val) \ argument 39 #define BF64_SET(x, low, len, val) \ argument 42 #define BF32_GET_SB(x, low, len, shift, bias) \ argument 44 #define BF64_GET_SB(x, low, len, shift, bias) \ argument 47 #define BF32_SET_SB(x, low, len, shift, bias, val) \ argument 49 #define BF64_SET_SB(x, low, len, shift, bias, val) \ argument 173 #define DVA_SET_ASIZE(dva, x) \ argument 184 #define DVA_SET_OFFSET(dva, x) \ argument 192 #define BP_SET_LSIZE(bp, x) \ argument [all …]
|
/xen/tools/include/xen-tools/ |
A D | libs.h | 17 #define MAX(x, y) ((x) > (y) ? (x) : (y)) argument 21 #define MIN(x, y) ((x) < (y) ? (x) : (y)) argument 25 #define min(x, y) \ argument 35 #define max(x, y) \ argument 45 #define min_t(type, x, y) \ argument 54 #define max_t(type, x, y) \ argument
|
/xen/xen/common/ |
A D | gunzip.c | 41 # define Trace(x) do { fprintf x; } while (0) argument 42 # define Tracev(x) do { if (verbose) fprintf x ; } while (0) argument 43 # define Tracevv(x) do { if (verbose > 1) fprintf x ; } while (0) argument 44 # define Tracec(c, x) do { if (verbose && (c)) fprintf x ; } while (0) argument 45 # define Tracecv(c, x) do { if (verbose > 1 && (c)) fprintf x ; } while (0) argument 48 # define Trace(x) argument 49 # define Tracev(x) argument 50 # define Tracevv(x) argument 51 # define Tracec(c, x) argument 52 # define Tracecv(c, x) argument [all …]
|
/xen/tools/libfsimage/zfs/ |
A D | zfs_sha256.c | 43 #define Ch(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument 44 #define Maj(x, y, z) (((x) & (y)) ^ ((z) & ((x) ^ (y)))) argument 45 #define Rot32(x, s) (((x) >> s) | ((x) << (32 - s))) argument 46 #define SIGMA0(x) (Rot32(x, 2) ^ Rot32(x, 13) ^ Rot32(x, 22)) argument 47 #define SIGMA1(x) (Rot32(x, 6) ^ Rot32(x, 11) ^ Rot32(x, 25)) argument 48 #define sigma0(x) (Rot32(x, 7) ^ Rot32(x, 18) ^ ((x) >> 3)) argument 49 #define sigma1(x) (Rot32(x, 17) ^ Rot32(x, 19) ^ ((x) >> 10)) argument
|
/xen/tools/firmware/hvmloader/ |
A D | apic_regs.h | 8 #define GET_APIC_ID(x) (((x)>>24)&0xFFu) argument 9 #define SET_APIC_ID(x) (((x)<<24)) argument 12 #define GET_APIC_VERSION(x) ((x)&0xFF) argument 13 #define GET_APIC_MAXLVT(x) (((x)>>16)&0xFF) argument 14 #define APIC_INTEGRATED(x) ((x)&0xF0) argument 15 #define APIC_XAPIC(x) ((x) >= 0x14) argument 26 #define GET_APIC_LOGICAL_ID(x) (((x)>>24)&0xFF) argument 27 #define SET_APIC_LOGICAL_ID(x) (((x)<<24)) argument 70 #define SET_APIC_DEST_FIELD(x) ((x)<<24) argument 76 #define GET_APIC_TIMER_BASE(x) (((x)>>18)&0x3) argument [all …]
|