fdivs
Integer division by a constant melted into shifts. Floats don't get off that easy. fdivs is a real divide in silicon, and that's the instruction the compiler reaches for.
fdivs f1, f1, f2 # f1 = a / b
blr
Here's the catch. A constant divisor almost never stays a divide. Write x / 2.0f and the compiler turns it into x * 0.5f, a multiply by the reciprocal that's cheaper by a mile. The divide instruction only shows up when b is whatever the program happened to compute on the fly.
Your task
Write div_f to match the fdivs above.