Feather M4 vs Pi Pico
Cortex-M4F (SAMD51) at 120 MHz against Cortex-M0+ (RP2040) at 200 MHz, on real hardware, same C kernels, clocks verified.
Feather M4
Cortex-M4F (SAMD51)
- Family
- Arm Cortex-M
- Board
- Feather M4 Express
- Clock
- 120 MHz
- float / double
- 32-bit / 64-bit
Pi Pico
Cortex-M0+ (RP2040)
- Family
- Arm Cortex-M
- Board
- Pi Pico
- Clock
- 200 MHz
- float / double
- 32-bit / 64-bit
Typical gap
1.09×
Feather M4 faster, geometric mean of 30 cells
Biggest win for Feather M4
4.48×
float subtract
Biggest win for Pi Pico
2.27×
uint64_t modulo
Clock for clock
1.82×
Feather M4 needs fewer cycles per op (1.67× clock gap)
Operation by operation
Every cell
How many times faster Feather M4 is than Pi Pico, operations per second. Blue: Feather M4 ahead. Orange: Pi Pico ahead.
| Add | Subtract | Multiply | Divide | Modulo | |
|---|---|---|---|---|---|
| uint8_t | 1/1.51× 8.98 M/s · 13.5 M/s | 1/1.62× 8.98 M/s · 14.5 M/s | 1/1.41× 8.98 M/s · 12.7 M/s | 1.47× 7.01 M/s · 4.78 M/s | 1.33× 6.36 M/s · 4.78 M/s |
| uint16_t | 1/1.19× 8.98 M/s · 10.7 M/s | 1/1.19× 8.98 M/s · 10.7 M/s | 1/1.25× 8.98 M/s · 11.3 M/s | 1.28× 6.12 M/s · 4.77 M/s | 1.12× 5.36 M/s · 4.77 M/s |
| uint32_t | 1/1.16× 9.71 M/s · 11.3 M/s | 1/1.16× 9.71 M/s · 11.3 M/s | 1/1.23× 9.71 M/s · 11.9 M/s | 1.27× 6.53 M/s · 5.14 M/s | 1.20× 6.19 M/s · 5.14 M/s |
| uint64_t | 1/1.04× 6.19 M/s · 6.44 M/s | 1.02× 6.19 M/s · 6.05 M/s | 1.79× 5.61 M/s · 3.13 M/s | 1/2.27× 885 k/s · 2.01 M/s | 1/2.27× 885 k/s · 2.01 M/s |
| float | 4.16× 8.98 M/s · 2.16 M/s | 4.48× 8.98 M/s · 2 M/s | 3.66× 8.98 M/s · 2.45 M/s | 2.35× 4.73 M/s · 2.01 M/s | 1/1.32× 866 k/s · 1.14 M/s |
| double | 1/1.34× 1.2 M/s · 1.6 M/s | 1/1.24× 1.19 M/s · 1.48 M/s | 1.67× 1.7 M/s · 1.02 M/s | 1.36× 1.26 M/s · 926 k/s | 1/1.72× 425 k/s · 734 k/s |