Value: out. X ## 0 = in.a.a ## N; \
out. X ## 1 = in.a.b ## N; \
out. X ## 2 = in.a.c ## N; \
out. X ## 3 = in.a.d ## N; \
out. X ## 4 = in.b.a ## N; \
out. X ## 5 = in.b.b ## N; \
out. X ## 6 = in.b.c ## N; \
out. X ## 7 = in.b.d ## N;
Set out.X
bits to bit N of both in.a
and in.b
in order.
- Parameters
-
X | the sub4 of out to set |
N | the bit of each byte to retrieve |
- See also
- bitswap_type
Definition at line 101 of file bitswap.h.
101#define SWAPS(X,N) out. X ## 0 = in.a.a ## N; \
102 out. X ## 1 = in.a.b ## N; \
103 out. X ## 2 = in.a.c ## N; \
104 out. X ## 3 = in.a.d ## N; \
105 out. X ## 4 = in.b.a ## N; \
106 out. X ## 5 = in.b.b ## N; \
107 out. X ## 6 = in.b.c ## N; \
108 out. X ## 7 = in.b.d ## N;