Hi,
My project need to do more mathematical operations (e.g. multiplication, division, exponentiation ..).
Does ESP32 have instruction set to accelerated math computing?
Thanks.
Does ESP32 have instruction set to accelerated math computing?
-
- Posts: 9761
- Joined: Thu Nov 26, 2015 4:08 am
Re: Does ESP32 have instruction set to accelerated math computing?
The ESP32 has integer and (single-precision) floating point multiplication and division; no need to do anything special for those as GCC will automatically spit out the right instructions for that. There's also an 16-bit MAC instruction, but you may need to write some assembly for that.
Re: Does ESP32 have instruction set to accelerated math computing?
Thank you @ESP_Sprite.ESP_Sprite wrote: ↑Thu Nov 15, 2018 1:24 pmThe ESP32 has integer and (single-precision) floating point multiplication and division; no need to do anything special for those as GCC will automatically spit out the right instructions for that. There's also an 16-bit MAC instruction, but you may need to write some assembly for that.
Does ESP32 support some features likes SIMD / NEON ?
Thanks.
-
- Posts: 9761
- Joined: Thu Nov 26, 2015 4:08 am
Re: Does ESP32 have instruction set to accelerated math computing?
No / hard to say. NEON is ARM-specific and SIMD is kinda vague. I know the MAC instruction is SIMD-ish, though.
Re: Does ESP32 have instruction set to accelerated math computing?
Thank you @ESP_Sprite.ESP_Sprite wrote: ↑Fri Nov 16, 2018 3:58 amNo / hard to say. NEON is ARM-specific and SIMD is kinda vague. I know the MAC instruction is SIMD-ish, though.
Now because of the SIMD/NEON, my applicatio could run fast on the arm platform.
On ESP32, it was a bit slow.
Would you please share any experience about accelerated math computing on ESP32 ?
Thanks.
Who is online
Users browsing this forum: Google Feedfetcher and 86 guests