PIC16F17146 vs Feather M4
PIC16F (PIC16F17146) at 32 MHz against Cortex-M4F (SAMD51) at 120 MHz, on real hardware, same C kernels, clocks verified.
PIC16F17146
PIC16F (PIC16F17146)
- Family
- PIC / dsPIC
- Board
- PIC16F17146 Curiosity Nano
- Clock
- 32 MHz
- float / double
- 32-bit / 32-bit
Feather M4
Cortex-M4F (SAMD51)
- Family
- Arm Cortex-M
- Board
- Feather M4 Express
- Clock
- 120 MHz
- float / double
- 32-bit / 64-bit
Typical gap
176×
Feather M4 faster, geometric mean of 25 cells
Biggest win for PIC16F17146
0.03×
uint8_t add
Biggest win for Feather M4
1,508×
float multiply
Clock for clock
47.1×
Feather M4 needs fewer cycles per op (3.75× clock gap)
Operation by operation
Every cell
How many times faster PIC16F17146 is than Feather M4, operations per second. Blue: PIC16F17146 ahead. Orange: Feather M4 ahead.
| Add | Subtract | Multiply | Divide | Modulo | |
|---|---|---|---|---|---|
| uint8_t | 1/30.1× 298 k/s · 8.98 M/s | 1/32.4× 277 k/s · 8.98 M/s | 1/138× 64.8 k/s · 8.98 M/s | 1/113× 62 k/s · 7.01 M/s | 1/316× 20.1 k/s · 6.36 M/s |
| uint16_t | 1/36.9× 244 k/s · 8.98 M/s | 1/36.9× 244 k/s · 8.98 M/s | 1/354× 25.4 k/s · 8.98 M/s | 1/259× 23.6 k/s · 6.12 M/s | 1/196× 27.3 k/s · 5.36 M/s |
| uint32_t | 1/92.1× 105 k/s · 9.71 M/s | 1/109× 89 k/s · 9.71 M/s | 1/980× 9.9 k/s · 9.71 M/s | 1/708× 9.23 k/s · 6.53 M/s | 1/573× 10.8 k/s · 6.19 M/s |
| uint64_t | not measured | not measured | not measured | not measured | not measured |
| float | 1/361× 24.9 k/s · 8.98 M/s | 1/482× 18.6 k/s · 8.98 M/s | 1/1,508× 5.95 k/s · 8.98 M/s | 1/858× 5.51 k/s · 4.73 M/s | 1/118× 7.33 k/s · 866 k/s |
| double | 1/48.1× 24.9 k/s · 1.2 M/s | 1/64.0× 18.6 k/s · 1.19 M/s | 1/286× 5.95 k/s · 1.7 M/s | 1/229× 5.51 k/s · 1.26 M/s | 1/58.1× 7.33 k/s · 425 k/s |