Extend Cortex-M support to cover cores with the DSP instruction set, such as Cortex-M4, M7 or M33. The existing cortex-m operators should largely just work as-is today, but have not been tested. The CMSIS library handles instruction set differences via detection of ARM_MATH_DSP or ARM_MATH_MVEI pre-processor macros.
One caveat to keep in mind is that scratch buffer allocation sizes will need to be different between DSP & MVE implementations. As of today, those use the temp allocator so it is allocated at runtime, but #16041 will move these into the AOT memory plan.
cc @digantdesai @SS-JIA @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @psiddh @AdrianLundell
Extend Cortex-M support to cover cores with the DSP instruction set, such as Cortex-M4, M7 or M33. The existing cortex-m operators should largely just work as-is today, but have not been tested. The CMSIS library handles instruction set differences via detection of
ARM_MATH_DSPorARM_MATH_MVEIpre-processor macros.One caveat to keep in mind is that scratch buffer allocation sizes will need to be different between DSP & MVE implementations. As of today, those use the temp allocator so it is allocated at runtime, but #16041 will move these into the AOT memory plan.
cc @digantdesai @SS-JIA @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @psiddh @AdrianLundell