diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2022-02-02 00:00:09 +0100 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2022-02-02 01:20:02 +0100 |
commit | 4c4d0af4c94ccf0cfa74c8b13b8ec1029f57cd63 (patch) | |
tree | 4faf5afcdf7342385ade8ff6f0f34120d4f78448 /gcc/doc | |
parent | ae7e4af964eaa80a3d7c43e4a7e1864d9a7cb06b (diff) | |
download | gcc-4c4d0af4c94ccf0cfa74c8b13b8ec1029f57cd63.zip gcc-4c4d0af4c94ccf0cfa74c8b13b8ec1029f57cd63.tar.gz gcc-4c4d0af4c94ccf0cfa74c8b13b8ec1029f57cd63.tar.bz2 |
cris: Don't default to -mmul-bug-workaround
This flips the default for the errata handling for an old version
(TL;DR: workaround: no multiply instruction last on a cache-line).
Newer versions of the CRIS cpu don't have that bug. While the impact
of the workaround is very marginal (coremark: less than .05% larger,
less than .0005% slower) it's an irritating pseudorandom factor when
assessing the impact of other changes.
Also, fix a wart requiring changes to more than TARGET_DEFAULT to flip
the default.
People building old kernels or operating systems to run on
ETRAX 100 LX are advised to pass "-mmul-bug-workaround".
gcc:
* config/cris/cris.h (TARGET_DEFAULT): Don't include MASK_MUL_BUG.
(MUL_BUG_ASM_DEFAULT): New macro.
(MAYBE_AS_NO_MUL_BUG_ABORT): Define in terms of MUL_BUG_ASM_DEFAULT.
* doc/invoke.texi (CRIS Options, -mmul-bug-workaround): Adjust
accordingly.
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index cfd4151..7af5c51 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -22268,7 +22268,7 @@ The options @option{-metrax4} and @option{-metrax100} are synonyms for @opindex mmul-bug-workaround @opindex mno-mul-bug-workaround Work around a bug in the @code{muls} and @code{mulu} instructions for CPU -models where it applies. This option is active by default. +models where it applies. This option is disabled by default. @item -mpdebug @opindex mpdebug |