Lines Matching refs:div
2340 s32 dvd, div, mod; in idiv_byte() local
2347 div = dvd / (s8) s; in idiv_byte()
2349 if (abs(div) > 0x7f) { in idiv_byte()
2353 M.x86.R_AL = (s8) div; in idiv_byte()
2364 s32 dvd, div, mod; in idiv_word() local
2371 div = dvd / (s16) s; in idiv_word()
2373 if (abs(div) > 0x7fff) { in idiv_word()
2379 CONDITIONAL_SET_FLAG(div == 0, F_ZF); in idiv_word()
2382 M.x86.R_AX = (u16) div; in idiv_word()
2394 s64 dvd, div, mod; in idiv_long() local
2401 div = dvd / (s32) s; in idiv_long()
2403 if (abs(div) > 0x7fffffff) { in idiv_long()
2408 s32 div = 0, mod; in idiv_long()
2423 div <<= 1; in idiv_long()
2437 div |= 1; in idiv_long()
2448 div |= ((h_dvd & 0x10000000) ^ (s & 0x10000000)); in idiv_long()
2458 M.x86.R_EAX = (u32) div; in idiv_long()
2469 u32 dvd, div, mod; in div_byte() local
2476 div = dvd / (u8) s; in div_byte()
2478 if (abs(div) > 0xff) { in div_byte()
2482 M.x86.R_AL = (u8) div; in div_byte()
2493 u32 dvd, div, mod; in div_word() local
2500 div = dvd / (u16) s; in div_word()
2502 if (abs(div) > 0xffff) { in div_word()
2508 CONDITIONAL_SET_FLAG(div == 0, F_ZF); in div_word()
2511 M.x86.R_AX = (u16) div; in div_word()
2523 u64 dvd, div, mod; in div_long() local
2530 div = dvd / (u32) s; in div_long()
2532 if (abs(div) > 0xffffffff) { in div_long()
2537 s32 div = 0, mod; in div_long()
2551 div <<= 1; in div_long()
2565 div |= 1; in div_long()
2583 M.x86.R_EAX = (u32) div; in div_long()