RFC Improve m68k __mulsi3
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | arch/m68k/lib/mulsi3.S: Optimize]arch/ | +31 | 10 replies | |
| 2/2 | arch/m68k: Add CONFIG_CPU_HAS_NO_MULDIV32arch/ arch/ | +13 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] Improve m68k __mulsi3
As part of some other work I was doing looking at constant multiplies on various platforms, and that led to looking a the em68k __mulsi3 code.
Which in turn led to the following microoptimizations. Note that this is desk-checked but UNTESTED, thus the RFC nature of the patches.
A bit of cleverness uses the available A0 and A1 registers to save three instruction words one memory fetch, shaving 16 cycles off the code.