A D | spa.h | 29 #define BF32_DECODE(x, low, len) P2PHASE((x) >> (low), 1U << (len)) argument 30 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len)) argument 31 #define BF32_ENCODE(x, low, len) (P2PHASE((x), 1U << (len)) << (low)) argument 34 #define BF32_GET(x, low, len) BF32_DECODE(x, low, len) argument 35 #define BF64_GET(x, low, len) BF64_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 [all …]
|