dmult_func(9)
okay so bestie, we're looking at dmult_func(9) β the kernel API page that's literally about emulating a DMULT instruction, and it's giving "tiny but iconic" energy. π
β¨
π NAME π
dmult_func β emulate a DMULT instruction. No cap, that's the whole name-and-purpose combo. π
π SYNOPSIS π
int dmult_func (struct pt_regs *regs , u32 ir );
π¦ ARGUMENTS π¦
regsβ process register set. That's the register situation for the process. π«Άirβ instruction. The instruction in question, periodt. π
πΈ DESCRIPTION πΈ
So here's the tea: this one returns 0 on success, or SIGILL for 32-bit kernels. That's it β short, sweet, and absolutely not doing extra. π
32-bit kernel besties: SIGILL is the return value to watch for. π¨
π SEE ALSO π
Kernel file: ./arch/mips/kernel/mips-r2-to-r6-emul.c
The whole related-page squad, in the original order:
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)dmultu_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)
mwah π okay that's the whole page β sourced from ./arch/mips/kernel, dated October 2026, and yes it's dmult_func(9). stay slaying, bestie π«Άβ¨
π¦ 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