diff options
author | Michael Davidsaver <mdavidsaver@gmail.com> | 2020-10-01 10:16:08 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2020-10-01 10:18:32 -0500 |
commit | 63a32847b0e8d14ae1eafe047ea43441f6e3a11c (patch) | |
tree | 477fe346e7a3e76d03be066f7864bcf838226d97 /gcc | |
parent | f5299992827048274f2146746ab4abab3accd124 (diff) | |
download | gcc-63a32847b0e8d14ae1eafe047ea43441f6e3a11c.zip gcc-63a32847b0e8d14ae1eafe047ea43441f6e3a11c.tar.gz gcc-63a32847b0e8d14ae1eafe047ea43441f6e3a11c.tar.bz2 |
config/i386/t-rtems: Change from mtune to march for multilibs
* config/i386/t-rtems: Change from mtune to march when building
multilibs. The mtune argument tunes or optimizes for a specific
CPU model but does not ensure the generated code is appropriate
for the CPU model. Prior to this patch, i386 compatible code
was always generated but tuned for later models.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/i386/t-rtems | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/i386/t-rtems b/gcc/config/i386/t-rtems index 7626970..5f078c6 100644 --- a/gcc/config/i386/t-rtems +++ b/gcc/config/i386/t-rtems @@ -17,10 +17,10 @@ # <http://www.gnu.org/licenses/>. # -MULTILIB_OPTIONS = mtune=i486/mtune=pentium/mtune=pentiumpro msoft-float +MULTILIB_OPTIONS = march=i486/march=pentium/march=pentiumpro msoft-float MULTILIB_DIRNAMES= m486 mpentium mpentiumpro soft-float MULTILIB_MATCHES = msoft-float=mno-80387 -MULTILIB_MATCHES += mtune?pentium=mtune?k6 mtune?pentiumpro=mtune?athlon +MULTILIB_MATCHES += march?pentium=march?k6 march?pentiumpro=march?athlon MULTILIB_EXCEPTIONS = \ -mtune=pentium/*msoft-float* \ -mtune=pentiumpro/*msoft-float* +march=pentium/*msoft-float* \ +march=pentiumpro/*msoft-float* |