]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mips.h (BASE_DRIVER_SELF_SPECS): Infer -mdspr2 for the the 74K.
authorCatherine Moore <clm@codesourcery.com>
Mon, 30 Aug 2010 18:57:30 +0000 (14:57 -0400)
committerCatherine Moore <clm@gcc.gnu.org>
Mon, 30 Aug 2010 18:57:30 +0000 (14:57 -0400)
2010-08-31  Catherine Moore  <clm@codesourcery.com>

* config/mips/mips.h (BASE_DRIVER_SELF_SPECS):
Infer -mdspr2 for the the 74K.

From-SVN: r163656

gcc/ChangeLog
gcc/config/mips/mips.h

index 3093c6c388f3ed12fe374cf6905ce1323deb99f9..71dc958e5a067356f6fcb3ad03cc73fd90fe3ac2 100644 (file)
@@ -1,3 +1,8 @@
+2010-08-31  Catherine Moore  <clm@codesourcery.com>
+
+       * config/mips/mips.h (BASE_DRIVER_SELF_SPECS):
+       Infer -mdspr2 for the the 74K.
+
 2010-08-30  Jakub Jelinek  <jakub@redhat.com>
 
        PR debug/45419
index cc3ebb478cf4d81a99deff622fbcb18f38ddf8b7..4dd86d4495cfa8bcf24d2fa79ba81e0c20b0e495 100644 (file)
@@ -761,7 +761,9 @@ enum mips_code_readable_setting {
 
 /* A spec that infers the -mdsp setting from an -march argument.  */
 #define BASE_DRIVER_SELF_SPECS \
-  "%{!mno-dsp:%{march=24ke*|march=34k*|march=74k*|march=1004k*: -mdsp}}"
+  "%{!mno-dsp: \
+     %{march=24ke*|march=34k*|march=1004k*: -mdsp} \
+     %{march=74k*:%{!mno-dspr2: -mdspr2 -mdsp}}}"
 
 #define DRIVER_SELF_SPECS BASE_DRIVER_SELF_SPECS