what is the precise difference between xtensa HIFI3/4/5 and ESP32 core?

caozilong
Posts: 5
Joined: Mon Feb 15, 2021 6:29 am

what is the precise difference between xtensa HIFI3/4/5 and ESP32 core?

Postby caozilong » Mon Feb 15, 2021 6:34 am

HI folks:
what is the precise difference between xtensa HIFI3/4/5 and ESP32 core? after all, they are all belongs to the same ISA arch, Xtensa LX series cores, so, why HIFI has strong capability on accelation of algorithm, but it seems esp32 seems weaker than HIFI ?

thank you!

ESP_Sprite
Posts: 9052
Joined: Thu Nov 26, 2015 4:08 am

Re: what is the precise difference between xtensa HIFI3/4/5 and ESP32 core?

Postby ESP_Sprite » Mon Feb 15, 2021 10:08 am

HiFi3/4/5 are DSP extensions to the Xtensa core. The Xtensa cores in the ESP32 do not have these DSP extensions.

caozilong
Posts: 5
Joined: Mon Feb 15, 2021 6:29 am

Re: what is the precise difference between xtensa HIFI3/4/5 and ESP32 core?

Postby caozilong » Mon Feb 15, 2021 12:38 pm

So ,they are same in ISA arch? right?

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: what is the precise difference between xtensa HIFI3/4/5 and ESP32 core?

Postby ESP_Angus » Mon Feb 15, 2021 10:24 pm

I believe the base instruction set architecture is the same, but sharing a base instruction set doesn't mean that all CPU features are the same.

One of the main features of the xtensa architecture is that it's easily extensible with new instructions, so the DSP cores will have additional specific instructions that exist just for doing fast DSP operations. The ESP32 isn't a DSP, so it doesn't have these.

(ESP32 does have a single instruction 32-bit MAC instruction, and it's possible to do some DSP with the ESP32, but this is not the same. The HIFI cores will have instructions to do this kind of operation on vectors of values in hardware, for specific DSP computations.)

Who is online

Users browsing this forum: alb702 and 257 guests