Browse Source
Running frv's allinsn in serial is quite slow due to the sheer number of tests it contains. By splitting it up and running in parallel, the execution time on my system goes from ~100sec to ~60sec.binutils-2_38-branch
9 changed files with 136 additions and 19 deletions
@ -0,0 +1,17 @@ |
|||
# FRV simulator testsuite. |
|||
|
|||
sim_init |
|||
|
|||
# all machines |
|||
set all_machs "frv fr500 fr550 fr400 fr405 fr450" |
|||
set cpu_option -mcpu |
|||
|
|||
# The .cgs suffix is for "cgen .s". |
|||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[a-b\]*.cgs]] { |
|||
# If we're only testing specific files and this isn't one of them, |
|||
# skip it. |
|||
if ![runtest_file_p $runtests $src] { |
|||
continue |
|||
} |
|||
run_sim_test $src $all_machs |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
# FRV simulator testsuite. |
|||
|
|||
sim_init |
|||
|
|||
# all machines |
|||
set all_machs "frv fr500 fr550 fr400 fr405 fr450" |
|||
set cpu_option -mcpu |
|||
|
|||
# The .cgs suffix is for "cgen .s". |
|||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[c\]*.cgs]] { |
|||
# If we're only testing specific files and this isn't one of them, |
|||
# skip it. |
|||
if ![runtest_file_p $runtests $src] { |
|||
continue |
|||
} |
|||
run_sim_test $src $all_machs |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
# FRV simulator testsuite. |
|||
|
|||
sim_init |
|||
|
|||
# all machines |
|||
set all_machs "frv fr500 fr550 fr400 fr405 fr450" |
|||
set cpu_option -mcpu |
|||
|
|||
# The .cgs suffix is for "cgen .s". |
|||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[d-h\]*.cgs]] { |
|||
# If we're only testing specific files and this isn't one of them, |
|||
# skip it. |
|||
if ![runtest_file_p $runtests $src] { |
|||
continue |
|||
} |
|||
run_sim_test $src $all_machs |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
# FRV simulator testsuite. |
|||
|
|||
sim_init |
|||
|
|||
# all machines |
|||
set all_machs "frv fr500 fr550 fr400 fr405 fr450" |
|||
set cpu_option -mcpu |
|||
|
|||
# The .cgs suffix is for "cgen .s". |
|||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[i-l\]*.cgs]] { |
|||
# If we're only testing specific files and this isn't one of them, |
|||
# skip it. |
|||
if ![runtest_file_p $runtests $src] { |
|||
continue |
|||
} |
|||
run_sim_test $src $all_machs |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
# FRV simulator testsuite. |
|||
|
|||
sim_init |
|||
|
|||
# all machines |
|||
set all_machs "frv fr500 fr550 fr400 fr405 fr450" |
|||
set cpu_option -mcpu |
|||
|
|||
# The .cgs suffix is for "cgen .s". |
|||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[m\]*.cgs]] { |
|||
# If we're only testing specific files and this isn't one of them, |
|||
# skip it. |
|||
if ![runtest_file_p $runtests $src] { |
|||
continue |
|||
} |
|||
run_sim_test $src $all_machs |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
# FRV simulator testsuite. |
|||
|
|||
sim_init |
|||
|
|||
# all machines |
|||
set all_machs "frv fr500 fr550 fr400 fr405 fr450" |
|||
set cpu_option -mcpu |
|||
|
|||
# The .cgs suffix is for "cgen .s". |
|||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[n\]*.cgs]] { |
|||
# If we're only testing specific files and this isn't one of them, |
|||
# skip it. |
|||
if ![runtest_file_p $runtests $src] { |
|||
continue |
|||
} |
|||
run_sim_test $src $all_machs |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
# FRV simulator testsuite. |
|||
|
|||
sim_init |
|||
|
|||
# all machines |
|||
set all_machs "frv fr500 fr550 fr400 fr405 fr450" |
|||
set cpu_option -mcpu |
|||
|
|||
# The .cgs suffix is for "cgen .s". |
|||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[o-s\]*.cgs]] { |
|||
# If we're only testing specific files and this isn't one of them, |
|||
# skip it. |
|||
if ![runtest_file_p $runtests $src] { |
|||
continue |
|||
} |
|||
run_sim_test $src $all_machs |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
# FRV simulator testsuite. |
|||
|
|||
sim_init |
|||
|
|||
# all machines |
|||
set all_machs "frv fr500 fr550 fr400 fr405 fr450" |
|||
set cpu_option -mcpu |
|||
|
|||
# The .cgs suffix is for "cgen .s". |
|||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[t-z\]*.cgs]] { |
|||
# If we're only testing specific files and this isn't one of them, |
|||
# skip it. |
|||
if ![runtest_file_p $runtests $src] { |
|||
continue |
|||
} |
|||
run_sim_test $src $all_machs |
|||
} |
|||
@ -1,19 +0,0 @@ |
|||
# FRV simulator testsuite. |
|||
|
|||
sim_init |
|||
|
|||
if [istarget *] { |
|||
# all machines |
|||
set all_machs "frv fr500 fr550 fr400 fr405 fr450" |
|||
set cpu_option -mcpu |
|||
|
|||
# The .cgs suffix is for "cgen .s". |
|||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] { |
|||
# If we're only testing specific files and this isn't one of them, |
|||
# skip it. |
|||
if ![runtest_file_p $runtests $src] { |
|||
continue |
|||
} |
|||
run_sim_test $src $all_machs |
|||
} |
|||
} |
|||
Loading…
Reference in new issue