1 # The
name of each test starts with the architecture it requires. Tests that
2 # work
on all variants start with
"all".
4 if {![istarget frv
-*-*]} {
10 # Find out which architecture is used by default.
12 foreach flag
[target_info multilib_flags
] {
13 regexp
"^-mcpu=(.*)" $flag dummy mainarch
14 if {$flag
== "-mno-pack"} {
15 #
-mno
-pack disables media intrinsics.
20 #
Set $archs to
"all" plus the list of architectures we can test.
21 set archs
[list
"all" $mainarch]
23 fr405
{ lappend archs fr400
}
24 fr450
{ lappend archs fr405 fr400
}
27 #
Set $files to the list of files we can test.
30 lappend files
[lsort
[glob
-nocomplain $srcdir
/$subdir
/$
{arch
}*.c
]]
34 gcc
-dg
-runtest
[eval concat $files
] ""