Hi, did Compiler 6 CLANG drop support for bit-banding for Cortex M3 and M4 ? I can't find any reference to such a feature.
Thank you,
Marco
Hi Marco,
Unfortunately there's no explicit support for bit-banding in ARM Compiler 6. However I would be really interested to explore your needs here, and we can share some source code constructs with you that could help you make use of bit-banding. If you would like to drop me a mail directly at paul.black@arm.com, I'll look forward to discussing with you.
Thanks,
Paul.
I wonder what ARM's attitude is to bit-banding as it doesn't seem to be supported in the latest versions of Cortex-M, or at least it isn't in Cortex-M7 and I see no mention in Cortex-M23 or Cortex-M33. It is probably not at all nice to implement when there is a cache or multiple processors, the ARMv8.1 additions include atomic instructions but that was for something rather a bit larger.
Thank you Daith, that was my concern too fro the moment I I saw that M7 explicitly doesn't support bit-banding too, and M33 doesn't mention it.. Maybe bit-banding was expression of a time when every "bit" literally helped, and this is not the situation anymore, with increasingly larger RAMs available either on and off-chip. I'll delve into those atomic instructions, even if they are not useful for the moment on the current M4 platform. Thanks again for bothering with my question ;)