I'm writing some SIMD code. I'll need my arrays to be aligned to 32bytes with an option to upgrade to 64byte if I ever decide to target a CPU that supports 512bit simd instructions.
From what I can tell realloc doesn't seem to keep any promises about the alignment. It seems malloc and realloc will only guarantee 8bytes/64bits?
Without writing my own what are my options if I want to reallocate a piece of memory?