• Why MEMSET is not optimized?
    I'm using ARM DS 2021 with compiler 6.16 and Cortex-A53 CPU in aarh64 mode. I wrote small program with call to memset() function, set high optimization O2 (tried O3 and Omax also) and disassembly shows...
  • Hard fault at misaligned memcpy memset
    we made some simple tests with STM32F100 Value Line Eval Board: //------------------------------------------------------------------------------ // Variables static unsigned char sDstBuf[1024...
  • Hard fault at misaligned memcpy memset
    we made some simple tests with STM32F100 Value Line Eval Board: //------------------------------------------------------------------------------ // Variables static unsigned char sDstBuf[1024...
  • Defect insice ARM compiler intrinsic memset function
    I have found severe defect inside ARM cor Cortex-M3 compiler. It occurs only in release build. And this is compilation result. Only 8 bytes is cleared, by using STR. 0x00013F06 F88D5008 STRB...
  • Defect insice ARM compiler intrinsic memset function
    I have found severe defect inside ARM cor Cortex-M3 compiler. It occurs only in release build. And this is compilation result. Only 8 bytes is cleared, by using STR. 0x00013F06 F88D5008 STRB...