Those tricks are fun. If you haven’t ever seen the book “Left Brains for the Right Stuff: Computers, Space, and History” by Hugh Blair-Smith, it’s a fun read about the processor designs leading up to the Apollo project.
Hey, it looks like rp2350 has hardware udiv and sdiv- could stuff like that...