Tool/software: TI C/C++ Compiler
Hello,
I would appreciate if you can clarify about the aligned and unaligned access in the C66xx DSP.
From what i understood the DSP supports both aligned and unaligned accesses but each has its own syntax.
When writing is C, what is the default assumption of the compiler when accessing memory through a pointer (i.e. uint32_t *ptr or uint64_t *ptr)?
When do i need to use the mem4/mem8 or amem4/amem8 intrinsics?
What about 16bit word accesses (i.e. uint16_t) , what happens if the pointer is not aligned to 16bit (there is no mem16)?
What happens with void pointers ?
Thanks