Open simtind opened 6 years ago
What should __DSP_PRESENT express? The availability of SIMD instructions? Every Cortex-M4/M7 has this extensions, therefore I think it is redundant.
DSP / SIMD instructions are optional in Cortex-M33. Referencing https://developer.arm.com/products/processors/cortex-m/cortex-m33 .
From CMSIS-DSP documentation: http://www.keil.com/pack/doc/CMSIS/DSP/html/index.html __DSP_PRESENT: Initialize macro __DSP_PRESENT = 1 when Armv8-M Mainline core supports DSP instructions.
Thanks for clarifying. Yes Cortex-M33 has optional SIMD instruction set.
We should think about adding <dspPresent>...</dspPresent>
to the SVD schema and converter.
@jkrech: We added __DSP_PRESENT and __DSP_USED to ARMCM33 device files. What about adding this to SVDConv?
It would be useful to be able to declare the __DSP_PRESENT macro from the SVD file. I propose a new tag working similar to , either mandatory, or default not present.