On 3/7/2024 4:01 PM, Kyrylo Tkachov via Gcc-help wrote:
Hello,
-----Original Message-----
From: Gcc-help <gcc-help-bounces+kyrylo.tkachov=arm.com@xxxxxxxxxxx> On
Behalf Of Christer Solskogen via Gcc-help
Sent: Monday, March 4, 2024 1:09 PM
To: gcc-help@xxxxxxxxxxx
Subject: mfix-cortex-a53
The mfix-cortex-a53 options(-mfix-cortex-a53-835769 /
-mno-fix-cortex-a53-835769 and -mfix-cortex-a53-843419/
-mno-fix-cortex-a53-843419), which of them are used by default? I mean,
when none of them are used.
By default the fixes will not be applied i.e. the behaviour will be equivalent to -mno-fix-cortex-a53-835769 and -mno-fix-cortex-a53-843419.
However, you (or your compiler vendor) can configure GCC during GCC compile time with the --enable-fix-cortex-a53-843419 or --enable-fix-cortex-a53-835769 options.
In that case the fixes will be applied automatically i.e. behave as if -mfix-cortex-a53-843419 or -mfix-cortex-a53-835769 were specified.
You can find out if your GCC distribution enables these configuration options automatically by running gcc with the "-v" option, and seeing if any of those two --enable-fix* options appear in the configuration options.
Thank you!
Are there any good reason for NOT having them enabled?
--
chs