dmultu_func(9)
β¨ dmultu_func(9) β¨
okay so bestie, welcome to the dmultu_func page from the Kernel API Manual β yes that's the manual name, we're folding it in right here at the top so it doesn't get lost π this whole thing is about emulating a DMULTU instruction and it's lowkey iconic.
πΈ NAME πΈ
dmultu_func β literally emulates a DMULTU instruction. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
int dmultu_func (struct pt_regs *regs , u32 ir );
look at her. so simple. so clean. we stan a compact signature β¨
π ARGUMENTS π
regsβ the process register set. the whole little reg buffet for this process π«Άirβ the instruction. the actualirin question, no cap π₯
π DESCRIPTION π
so like, what does she do? she emulates a DMULTU instruction, periodt. π
Returns 0 on success or SIGILL for 32-bit kernels. that's the whole story, bestie β and yes, SIGILL is the dramatic one π so if you're on a 32-bit kernel, that's your outcome, no cap.
π SEE ALSO π
bestie we're going on a journey β the kernel file ./arch/mips/kernel/mips-r2-to-r6-emul.c plus the whole friend group:
mipsr6_emul(9)movf_func(9)movt_func(9)jr_func(9)movz_func(9)movn_func(9)mfhi_func(9)mthi_func(9)mflo_func(9)mtlo_func(9)mult_func(9)multu_func(9)div_func(9)divu_func(9)dmult_func(9)ddiv_func(9)ddivu_func(9)madd_func(9)maddu_func(9)msub_func(9)msubu_func(9)mul_func(9)clz_func(9)clo_func(9)dclz_func(9)dclo_func(9)mipsr2_decoder(9)
iykyk π«
reminder bestie: every one of those references is the real deal, go read them if you're curious β group chat is always open π§
sign-off time π this little beauty lives in ./arch/mips/kernel, dated October 2026, and she's serving dmultu_func(9) energy from the top of the page to the bottom. mwah π go emulate something, queen π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms