Searched refs:bcd_get_digit (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/target/ppc/ |
H A D | int_helper.c | 2222 static uint8_t bcd_get_digit(ppc_avr_t *bcd, int n, int *invalid) in bcd_get_digit() function 2258 bcd_get_digit(bcd, i, &invalid); in bcd_is_valid() 2290 uint8_t dig_a = bcd_get_digit(a, i, &invalid); in bcd_cmp_mag() 2291 uint8_t dig_b = bcd_get_digit(b, i, &invalid); in bcd_cmp_mag() 2312 uint8_t digit = bcd_get_digit(a, i, invalid) + in bcd_add_mag() 2313 bcd_get_digit(b, i, invalid) + carry; in bcd_add_mag() 2336 uint8_t digit = bcd_get_digit(a, i, invalid) - in bcd_sub_mag() 2337 bcd_get_digit(b, i, invalid) + carry; in bcd_sub_mag() 2459 set_national_digit(&ret, 0x30 + bcd_get_digit(b, i, &invalid), i); in helper_bcdctn() 2539 digit = bcd_get_digit(b, i + 1, &invalid); in helper_bcdctz() [all …]
|