On 27 Dec 2015 17:51, Yoshinori Sato wrote: > index 0000000..e566c62 > --- /dev/null > +++ b/sim/testsuite/sim/rx/allinsn.exp > @@ -0,0 +1,25 @@ > +# Renesas RX simulator testsuite > + > +if [istarget rx-*-*] { > + set global_ld_options "-Ttext=0x01000000 --defsym __stack=0x01800000" > + > + set mach "rx" > + foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] { > + # 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 $mach > + } > + > + set mach "rxv2" > + foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] { > + # 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 $mach > + } > +} doesn't it work if you call run_sim_test once with both rx & rxv2 ? then you only need one loop. -mike