Lines Matching refs:dword1
765 static unsigned int special_field_LMD(uint64_t dword1) { in special_field_LMD() argument
770 g_field_specials = (dword1 & DFP_GFIELD_MASK) >> DFP_GFIELD_SHIFT; in special_field_LMD()
794 static inline int special_field_exponent_bits(unsigned long dword1) { in special_field_exponent_bits() argument
799 g_field_specials = (dword1 & DFP_GFIELD_MASK) >> DFP_GFIELD_SHIFT; in special_field_exponent_bits()
832 static inline int get_declet(int start, uint64_t dword1, uint64_t dword0) { in get_declet() argument
841 __FUNCTION__, start, dword1, dword0); in get_declet()
844 local_declet = (dword1 >> dword1_shift) & TEN_BITS; in get_declet()
856 ((dword1 & mask_dword1) << (64-dword0_shift)) + in get_declet()
862 static int get_bcd_digit_from_dpd(int start, uint64_t dword1, in get_bcd_digit_from_dpd() argument
867 declet = get_declet(start, dword1, dword0); in get_bcd_digit_from_dpd()
898 static inline signed long dfp128_exponent(unsigned long dword1) { in dfp128_exponent() argument
904 exponent_left = special_field_exponent_bits(dword1); in dfp128_exponent()
905 exponent_right = (dword1 & DFP128_EXPONENT_RIGHT_MASK); in dfp128_exponent()
936 static inline void dissect_dfp128_float(uint64_t dword1, uint64_t dword0) { in dissect_dfp128_float() argument
945 if (verbose > 5) printf("RAW128: %016lx %016lx ", dword1, dword0); in dissect_dfp128_float()
947 signbit = (dword1 >> 63); in dissect_dfp128_float()
953 ((dword1 >> DFP_SPECIAL_SYMBOLS_SHIFT) & DFP_SPECIAL_SYMBOLS_MASK); in dissect_dfp128_float()
961 if (dword1 & DFP_SIGNALING_NAN_BIT) in dissect_dfp128_float()
969 exponent = dfp128_exponent(dword1); in dissect_dfp128_float()
970 lmd_digit = special_field_LMD(dword1); in dissect_dfp128_float()
974 + 10 * i), dword1, dword0); in dissect_dfp128_float()
1019 static inline signed long dfp64_exponent(unsigned long dword1) { in dfp64_exponent() argument
1025 exponent_left = special_field_exponent_bits(dword1); in dfp64_exponent()
1026 exponent_right = (dword1 & DFP64_EXPONENT_RIGHT_MASK); in dfp64_exponent()
1035 static inline void dissect_dfp64_float(uint64_t dword1) { in dissect_dfp64_float() argument
1044 if (verbose > 5) printf("RAW64: %016lx ", dword1); in dissect_dfp64_float()
1046 signbit = (dword1 >> 63); in dissect_dfp64_float()
1052 ((dword1 >> DFP_SPECIAL_SYMBOLS_SHIFT) & DFP_SPECIAL_SYMBOLS_MASK); in dissect_dfp64_float()
1060 if (dword1 & DFP_SIGNALING_NAN_BIT) in dissect_dfp64_float()
1068 exponent = dfp64_exponent(dword1); in dissect_dfp64_float()
1069 lmd_digit = special_field_LMD(dword1); in dissect_dfp64_float()
1073 dword1, 0); in dissect_dfp64_float()
1874 int extract_packed_decimal_sign(unsigned long dword1, unsigned long dword0) { in extract_packed_decimal_sign() argument
1875 return (dword1 & 0xf); in extract_packed_decimal_sign()
1878 static void dissect_packed_decimal(unsigned long dword1,unsigned long dword0) in dissect_packed_decimal() argument
1884 local_sign = extract_packed_decimal_sign(dword1, dword0); in dissect_packed_decimal()
1888 nibble=(dword1 >> (i)) & 0xf; in dissect_packed_decimal()
2062 int extract_national_decimal_sign(unsigned long dword1, unsigned long dword0) { in extract_national_decimal_sign() argument
2063 return (dword1 & 0x0ff); in extract_national_decimal_sign()
2066 static void dissect_national_decimal(unsigned long dword1, in dissect_national_decimal() argument
2075 if (verbose>4) printf("raw: [%016lx %016lx] ", dword1, dword0); in dissect_national_decimal()
2078 hword = dword1 >> (i) & 0x00ff; in dissect_national_decimal()
2095 local_sign = extract_national_decimal_sign(dword1, dword0); in dissect_national_decimal()
2270 int extract_zoned_decimal_sign(unsigned long dword1, unsigned long dword0) { in extract_zoned_decimal_sign() argument
2271 return ((dword1 & 0xf0) >> 4); in extract_zoned_decimal_sign()
2274 static void dissect_zoned_decimal(unsigned long dword1, unsigned long dword0, in dissect_zoned_decimal() argument
2284 byte = (dword1 >> (i)) & 0xff; in dissect_zoned_decimal()
2297 local_sign = extract_zoned_decimal_sign(dword1, dword0); in dissect_zoned_decimal()