Hello,I'm using AWS and would like to optimize some apps running on ARM architecture -I'm referring to instances a1 & m6g (and future c6g) instances-. I was able to dig some technical specs about the CPUs but was wondering if anyone is familiar with the GNU compilation flags to optimize performance. More specifically, and looking at gcc.gnu.org/.../ARM-Options.html, does anyone have any suggestion on which values to use for the flags -march, -mtune, and -mcpu? For example, for an a1 instance, the -march flag is probably going to be armv8 but there are like 11 different options. Thanks.
I would recommend to use an AArch64 only link to the gcc documentation instead as it will simplify things for AWS instances.
For A1 you should start with -mtune=native and -march=armv8-a
Hi Jason. Thanks for the info.
View all questions in GNU Toolchain forum