msubu_func(9)
π msubu_func(9) β like, the Kernel API Manual girlies know β¨
Okay bestie, so this is msubu_func, a little function from the Kernel API Manual (yes, that's the manual section 9 vibe, kernel-level, very main character of it) π
πΈ NAME πΈ
msubu_func β the function that literally emulates a MSUBU instruction. That's it, that's the whole job. Slay π
π¦ SYNOPSIS π¦
int msubu_func (struct pt_regs *regs , u32 ir );
β¨ ARGUMENTS β¨
regsβ the process register set π«Ά like, all the registers for the process, handed over so the emulation has somewhere to work.irβ the instruction π₯ the actual instruction being dealt with, typed as au32.
π DESCRIPTION π
It returns 0 because it always succeeds. No cap. Every single time. Zero drama, zero failure, just 0 and vibes πβ¨
π SEE ALSO π
Pop off, cross-reference section, you're iconic. Everything here lives around the kernel file ./arch/mips/kernel/mips-r2-to-r6-emul.c:
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)dmultu_func(9)ddiv_func(9)ddivu_func(9)madd_func(9)maddu_func(9)msub_func(9)mul_func(9)clz_func(9)clo_func(9)dclz_func(9)dclo_func(9)mipsr2_decoder(9)
π Friendly reminder: the only thing this one does is return 0. If you were bracing for an error code, breathe β there isn't one. π
Okay that's the whole page, mwah π This little star comes from the kernel source spot ./arch/mips/kernel and it's dated October 2026 β go off, calendar icon ποΈβ¨ bye bestie, iykyk ππ
π¦ 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