Commit 401116b5 by Andrew Bennett Committed by Andrew Bennett

p5600-bonding.c (dg-options): Force the test to be always built for p5600.

testsuite/
2016-01-29  Andrew Bennett  <andrew.bennett@imgtec.com>

       * gcc.target/mips/p5600-bonding.c (dg-options): Force the test to be
       always built for p5600.
       * gcc.target/mips/mips.exp (mips-dg-options): Add support for the
       isa=p5600 dg-option.

From-SVN: r232980
parent 96db298a
2016-01-29 Andrew Bennett <andrew.bennett@imgtec.com>
* gcc.target/mips/p5600-bonding.c (dg-options): Force the test to be
always built for p5600.
* gcc.target/mips/mips.exp (mips-dg-options): Add support for the
isa=p5600 dg-option.
2016-01-29 Richard Biener <rguenther@suse.de> 2016-01-29 Richard Biener <rguenther@suse.de>
PR tree-optimization/69547 PR tree-optimization/69547
......
...@@ -142,6 +142,9 @@ ...@@ -142,6 +142,9 @@
# isa=loongson # isa=loongson
# select a Loongson processor # select a Loongson processor
# #
# isa=p5600
# select a P5600 processor
#
# addressing=absolute # addressing=absolute
# force absolute addresses to be used # force absolute addresses to be used
# #
...@@ -1011,6 +1014,10 @@ proc mips-dg-options { args } { ...@@ -1011,6 +1014,10 @@ proc mips-dg-options { args } {
if { ![regexp {^-march=loongson} $arch] } { if { ![regexp {^-march=loongson} $arch] } {
set arch "-march=loongson2f" set arch "-march=loongson2f"
} }
} elseif { [string equal $spec "isa=p5600"] } {
if { ![regexp {^-march=p5600} $arch] } {
set arch "-march=p5600"
}
} else { } else {
if { ![regexp {^(isa(?:|_rev))(=|<=|>=)([0-9]*)$} \ if { ![regexp {^(isa(?:|_rev))(=|<=|>=)([0-9]*)$} \
$spec dummy prop relation value nocpus] } { $spec dummy prop relation value nocpus] } {
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-dp -mtune=p5600 -mno-micromips -mno-mips16" } */ /* { dg-options "-dp isa=p5600 -mtune=p5600 -mno-micromips -mno-mips16" } */
/* { dg-skip-if "Bonding needs peephole optimization." { *-*-* } { "-O0" "-O1" } { "" } } */ /* { dg-skip-if "Bonding needs peephole optimization." { *-*-* } { "-O0" "-O1" } { "" } } */
typedef int VINT32 __attribute__ ((vector_size((16)))); typedef int VINT32 __attribute__ ((vector_size((16))));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment