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
This commit is contained in:
parent
96db298a71
commit
401116b5a4
@ -1,3 +1,10 @@
|
||||
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>
|
||||
|
||||
PR tree-optimization/69547
|
||||
|
@ -142,6 +142,9 @@
|
||||
# isa=loongson
|
||||
# select a Loongson processor
|
||||
#
|
||||
# isa=p5600
|
||||
# select a P5600 processor
|
||||
#
|
||||
# addressing=absolute
|
||||
# force absolute addresses to be used
|
||||
#
|
||||
@ -1011,6 +1014,10 @@ proc mips-dg-options { args } {
|
||||
if { ![regexp {^-march=loongson} $arch] } {
|
||||
set arch "-march=loongson2f"
|
||||
}
|
||||
} elseif { [string equal $spec "isa=p5600"] } {
|
||||
if { ![regexp {^-march=p5600} $arch] } {
|
||||
set arch "-march=p5600"
|
||||
}
|
||||
} else {
|
||||
if { ![regexp {^(isa(?:|_rev))(=|<=|>=)([0-9]*)$} \
|
||||
$spec dummy prop relation value nocpus] } {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* { 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" } { "" } } */
|
||||
typedef int VINT32 __attribute__ ((vector_size((16))));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user