Re:SIMD-accelerated computer vision on a $2 microcontroller
by duskwuff on Tuesday June 25, 2024 @12:42AM
(#40784565)
Neither Xtensa nor RISC-V are VLIW architectures.
[ Parent
| on HN ]
Re:SIMD-accelerated computer vision on a $2 microcontroller
by restricted_ptr on Tuesday June 25, 2024 @02:33AM
(#40785169)
Xtensa architecture is flexible and extendable by the user. Ability to define new instructions, hw features and VLIW configurations are some of the key features. You can find more details on the internet https://en.m.wikipedia.org/wiki/Tensilica
Re:SIMD-accelerated computer vision on a $2 microcontroller
by jki275 on Tuesday June 25, 2024 @10:01PM
(#40795707)
I don't think that applies to the ESP32 family of devices. I've never heard of DSP hardware onboard them.
I think the comment you're referring to is talking about the architecture in general, but not the silicon we're discussing here.
Re:SIMD-accelerated computer vision on a $2 microcontroller
by restricted_ptr on Tuesday June 25, 2024 @11:24PM
(#40796103)
ESP32 ee.* operations in assembly look pretty much like aliases for a VLIW bundles, on the same cycle issuing loads used in the next op while also doing multiplication on other operands. This is not a minimal Xtensa. They might not have the Tensilica toolchain for redistribution to use these features freely but apparently they exposed these extensions in their assembler in some form.
Re:SIMD-accelerated computer vision on a $2 microcontroller
by thrtythreeforty on Tuesday June 25, 2024 @12:51PM
(#40790747)
Generally speaking, this is not correct. Base Xtensa is not VLIW, but Xtensa's various vector extensions do allow VLIW instructions, collectively called "FLIX."
It is doubtful that ESP32's Xtensa is VLIW-capable, though. Presumably their compiler would emit FLIX instructions if it were.