]> gcc.gnu.org Git - gcc.git/commitdiff
mips.exp: Add -mtune= to mips_option_groups.
authorAdam Nemet <anemet@caviumnetworks.com>
Tue, 5 May 2009 20:54:06 +0000 (20:54 +0000)
committerAdam Nemet <nemet@gcc.gnu.org>
Tue, 5 May 2009 20:54:06 +0000 (20:54 +0000)
* gcc.target/mips/mips.exp: Add -mtune= to mips_option_groups.
* gcc.target/mips/dspr2-MULT.c: Pass -mtune=74kc
* gcc.target/mips/dspr2-MULTU.c: Likewise.

From-SVN: r147134

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/dspr2-MULT.c
gcc/testsuite/gcc.target/mips/dspr2-MULTU.c
gcc/testsuite/gcc.target/mips/mips.exp

index 0a770b58d400e115fa2adab7420c88de35dfe59d..376e4682cbe8552854a71f63d34c2f35d91841ab 100644 (file)
@@ -1,3 +1,9 @@
+2009-05-05  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * gcc.target/mips/mips.exp: Add -mtune= to mips_option_groups.
+       * gcc.target/mips/dspr2-MULT.c: Pass -mtune=74kc
+       * gcc.target/mips/dspr2-MULTU.c: Likewise.
+
 2009-05-05  Janus Weil  <janus@gcc.gnu.org>
 
        PR fortran/39998
index ab2c28a73215e4dd71cf6ecc4ab51f5215d5f171..8b815e5acb693488f3e0d6f4d4bfddb798ebb6e4 100644 (file)
@@ -1,6 +1,7 @@
-/* Test MIPS32 DSP REV 2 MULT instruction */
+/* Test MIPS32 DSP REV 2 MULT instruction.  Tune for a CPU that has
+   pipelined mult.  */
 /* { dg-do compile } */
-/* { dg-options "-mgp32 -mdspr2 -O2 -ffixed-hi -ffixed-lo" } */
+/* { dg-options "-mgp32 -mdspr2 -O2 -ffixed-hi -ffixed-lo -mtune=74kc" } */
 
 /* { dg-final { scan-assembler "\tmult\t" } } */
 /* { dg-final { scan-assembler "ac1" } } */
index 312938ae57d4c18a489fe016cc9a97419f0dc2b2..c457d245a3180d5c45c1164c56c93c3c4ed70fdc 100644 (file)
@@ -1,6 +1,7 @@
-/* Test MIPS32 DSP REV 2 MULTU instruction */
+/* Test MIPS32 DSP REV 2 MULTU instruction.  Tune for a CPU that has
+   pipelined multu.  */
 /* { dg-do compile } */
-/* { dg-options "-mgp32 -mdspr2 -O2 -ffixed-hi -ffixed-lo" } */
+/* { dg-options "-mgp32 -mdspr2 -O2 -ffixed-hi -ffixed-lo -mtune=74kc" } */
 
 /* { dg-final { scan-assembler "\tmultu\t" } } */
 /* { dg-final { scan-assembler "ac1" } } */
index 7befff5a1fae50a54163d7adf30c5b4d4268791d..a0b8fc396235c855b9747a38e2ae943062b1e05b 100644 (file)
@@ -243,6 +243,7 @@ foreach option {
     branch-cost
     code-readable
     r10k-cache-barrier
+    tune
 } {
     lappend mips_option_groups $option "-m$option=.*"
 }
This page took 0.085051 seconds and 5 git commands to generate.