Gcc flags for Xavier

Hello,

I am setting a toolchain to cross compile code for the Xavier.
Should I use -march=armv8.2-a? Is there a recommended extension?
I also would like to know the optimal -mcpu flag for the Carmel cores.

Cheers,
Diego

You could try ā€œ-march=armv8-aā€ and ā€œ-mcpu=cortex-a57 -O3ā€