sim: testsuite: push $arch out to targets

This is needed to move to automake & its dejagnu-provided logic,
and eventually by the unified sim logic.  The $arch is used only
to figure out which `run` program to use when running tests, and
as we move to a single top-level build, we can delete this and
use sim/run directly.
This commit is contained in:
Mike Frysinger 2021-01-15 23:23:46 -05:00
parent 9ee455572d
commit b0dcd7d832
73 changed files with 274 additions and 45 deletions

View File

@ -1,3 +1,8 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* configure.tgt: Delete call to AC_SUBST(sim_arch).
* configure: Regenerate.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* README-HACKING: Replace sinclude with AC_CONFIG_MACRO_DIRS in * README-HACKING: Replace sinclude with AC_CONFIG_MACRO_DIRS in

2
sim/configure vendored
View File

@ -585,7 +585,6 @@ ac_unique_file="Makefile.in"
enable_option_checking=no enable_option_checking=no
ac_subst_vars='LTLIBOBJS ac_subst_vars='LTLIBOBJS
LIBOBJS LIBOBJS
sim_arch
subdirs subdirs
CFLAGS_FOR_BUILD CFLAGS_FOR_BUILD
CC_FOR_BUILD CC_FOR_BUILD
@ -4087,7 +4086,6 @@ subdirs="$subdirs aarch64"
;; ;;
esac esac
if test "$sim_igen" = yes; then if test "$sim_igen" = yes; then
subdirs="$subdirs igen" subdirs="$subdirs igen"

View File

@ -111,4 +111,3 @@ case "${target}" in
sim_igen=yes sim_igen=yes
;; ;;
esac esac
AC_SUBST(sim_arch)

View File

@ -1,3 +1,8 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (arch): Delete.
(site.exp): Do not output $arch.
2021-02-04 Mike Frysinger <vapier@gentoo.org> 2021-02-04 Mike Frysinger <vapier@gentoo.org>
* riscv/: New directory. * riscv/: New directory.

View File

@ -29,8 +29,6 @@ target_canonical = @target@
target_alias = @target_alias@ target_alias = @target_alias@
program_transform_name = @program_transform_name@ program_transform_name = @program_transform_name@
arch = @sim_arch@
SHELL = /bin/sh SHELL = /bin/sh
SUBDIRS = @subdirs@ SUBDIRS = @subdirs@
RPATH_ENVVAR = @RPATH_ENVVAR@ RPATH_ENVVAR = @RPATH_ENVVAR@
@ -129,7 +127,6 @@ site.exp: Makefile
@echo '# edit the last section' >> $@-t @echo '# edit the last section' >> $@-t
@echo 'set srcdir $(srcdir)' >> $@-t @echo 'set srcdir $(srcdir)' >> $@-t
@echo 'set objdir' `pwd` >> $@-t @echo 'set objdir' `pwd` >> $@-t
@echo 'set arch $(arch)' >> $@-t
@echo 'set build_alias $(build_alias)' >> $@-t @echo 'set build_alias $(build_alias)' >> $@-t
@echo 'set build_triplet $(build_canonical)' >> $@-t @echo 'set build_triplet $(build_canonical)' >> $@-t
@echo 'set host_alias $(host_alias)' >> $@-t @echo 'set host_alias $(host_alias)' >> $@-t

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2017-04-22 Jim Wilson <jim.wilson@linaro.org> 2017-04-22 Jim Wilson <jim.wilson@linaro.org>
* fcvtz.s, fstur.s, ldn_single.s, ldnr.s, mla.s, mls.s, uzp.s: Align * fcvtz.s, fstur.s, ldn_single.s, ldnr.s, mla.s, mls.s, uzp.s: Align

View File

@ -1,6 +1,10 @@
# AArch64 simulator testsuite # AArch64 simulator testsuite
if [istarget aarch64*-*] { if [istarget aarch64*-*] {
# Used to locate the `run` program.
global arch
set arch "aarch64"
# all machines # all machines
set all_machs "aarch64" set all_machs "aarch64"

View File

@ -1,3 +1,8 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp, iwmmxt/iwmmxt.exp, misc.exp, thumb/allthumb.ex,
xscale/xscale.exp: Define arch.
2013-05-07 Jayant Sonar <jayant.sonar@kpitcummins.com> 2013-05-07 Jayant Sonar <jayant.sonar@kpitcummins.com>
Kaushik Phatak <Kaushik.Phatak@kpitcummins.com> Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>

View File

@ -1,8 +1,9 @@
# ARM simulator testsuite. # ARM simulator testsuite.
if { [istarget arm*-*-*] } { if { [istarget arm*-*-*] } {
# load support procs (none yet) # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "arm"
# all machines # all machines
set all_machs "xscale" set all_machs "xscale"

View File

@ -1,8 +1,9 @@
# Intel(r) Wireless MMX(tm) technology simulator testsuite. # Intel(r) Wireless MMX(tm) technology simulator testsuite.
if { [istarget arm*-*-*] } { if { [istarget arm*-*-*] } {
# load support procs (none yet) # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "arm"
# all machines # all machines
set all_machs "xscale" set all_machs "xscale"

View File

@ -1,8 +1,9 @@
# Miscellaneous ARM simulator testcases # Miscellaneous ARM simulator testcases
if { [istarget arm*-*-*] } { if { [istarget arm*-*-*] } {
# load support procs # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "arm"
# all machines # all machines
set all_machs "arm7tdmi" set all_machs "arm7tdmi"

View File

@ -1,8 +1,9 @@
# ARM simulator testsuite. # ARM simulator testsuite.
if { [istarget arm*-*-*] } { if { [istarget arm*-*-*] } {
# load support procs (none yet) # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "arm"
# all machines # all machines
set all_machs "arm7tdmi" set all_machs "arm7tdmi"

View File

@ -1,8 +1,9 @@
# XSCALE simulator testsuite. # XSCALE simulator testsuite.
if { [istarget arm*-*-*] } { if { [istarget arm*-*-*] } {
# load support procs (none yet) # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "arm"
# all machines # all machines
set all_machs "xscale" set all_machs "xscale"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2015-03-29 Mike Frysinger <vapier@gentoo.org> 2015-03-29 Mike Frysinger <vapier@gentoo.org>
* testutils.inc (start): Change to _start and add global markings. * testutils.inc (start): Change to _start and add global markings.

View File

@ -1,6 +1,10 @@
# avr simulator testsuite # avr simulator testsuite
if [istarget avr-*] { if [istarget avr-*] {
# Used to locate the `run` program.
global arch
set arch "avr"
# all machines # all machines
set all_machs "avr" set all_machs "avr"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2021-01-18 Mike Frysinger <vapier@gentoo.org> 2021-01-18 Mike Frysinger <vapier@gentoo.org>
* s21.s: Delete accidental copyright line. * s21.s: Delete accidental copyright line.

View File

@ -1,6 +1,10 @@
# Analog Devices Blackfin simulator testsuite # Analog Devices Blackfin simulator testsuite
if [istarget bfin-*-elf] { if [istarget bfin-*-elf] {
# Used to locate the `run` program.
global arch
set arch "bfin"
# all machines # all machines
set all_machs "bfin" set all_machs "bfin"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2020-09-08 David Faust <david.faust@oracle.com> 2020-09-08 David Faust <david.faust@oracle.com>
* alu.s: Correct div and mod tests. * alu.s: Correct div and mod tests.

View File

@ -1,6 +1,10 @@
# eBPF simulator testsuite # eBPF simulator testsuite
if [istarget bpf-unknown-none] { if [istarget bpf-unknown-none] {
# Used to locate the `run` program.
global arch
set arch "bpf"
# all machines # all machines
set all_machs "bpf" set all_machs "bpf"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp, misc.exp: Define arch.
2015-12-24 Mike Frysinger <vapier@gentoo.org> 2015-12-24 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Append --load-vma to global_sim_options. * allinsn.exp: Append --load-vma to global_sim_options.

View File

@ -1,8 +1,9 @@
# CR16 simulator testsuite. # CR16 simulator testsuite.
if [istarget cr16*-*-*] { if [istarget cr16*-*-*] {
# load support procs # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "cr16"
# all machines # all machines
set all_machs "cr16" set all_machs "cr16"

View File

@ -1,8 +1,9 @@
# Miscellaneous CR16 simulator testcases # Miscellaneous CR16 simulator testcases
if [istarget cr16*-*-*] { if [istarget cr16*-*-*] {
# load support procs # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "cr16"
# all machines # all machines
set all_machs "cr16" set all_machs "cr16"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* asm/asm.exp, c/c.exp, hw/rv-n-cris/rvc.exp: Define arch.
2021-01-15 Mike Frysinger <vapier@gentoo.org> 2021-01-15 Mike Frysinger <vapier@gentoo.org>
* c/c.exp: Change sim_run return to return_code. Set status to * c/c.exp: Change sim_run return to return_code. Set status to

View File

@ -16,6 +16,10 @@
# Miscellaneous CRIS simulator testcases in assembly code. # Miscellaneous CRIS simulator testcases in assembly code.
if [istarget cris*-*-*] { if [istarget cris*-*-*] {
# Used to locate the `run` program.
global arch
set arch "cris"
global ASFLAGS_FOR_TARGET global ASFLAGS_FOR_TARGET
# All machines we test and the corresponding assembler option. Needs # All machines we test and the corresponding assembler option. Needs
# update if we build the simulator for crisv0 crisv3 and crisv8 too. # update if we build the simulator for crisv0 crisv3 and crisv8 too.

View File

@ -19,6 +19,10 @@ if ![istarget cris*-*-*] {
return return
} }
# Used to locate the `run` program.
global arch
set arch "cris"
set CFLAGS_FOR_TARGET "-O2" set CFLAGS_FOR_TARGET "-O2"
if [istarget cris-*-*] { if [istarget cris-*-*] {
set mach "crisv10" set mach "crisv10"

View File

@ -112,6 +112,10 @@ proc slurp_rv { file } {
# The main test loop. # The main test loop.
if [istarget cris*-*-*] { if [istarget cris*-*-*] {
# Used to locate the `run` program.
global arch
set arch "cris"
global ASFLAGS_FOR_TARGET global ASFLAGS_FOR_TARGET
set has_rv_and_cris [sim_has_rv_and_cris] set has_rv_and_cris [sim_has_rv_and_cris]
global global_as_options global global_as_options

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2021-01-15 Mike Frysinger <vapier@gentoo.org> 2021-01-15 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: New file. * allinsn.exp: New file.
@ -141,4 +145,3 @@ Mon Nov 10 19:21:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (RUN_FOR_TARGET): Look for simulator in d10v * Makefile.in (RUN_FOR_TARGET): Look for simulator in d10v
directory. directory.

View File

@ -1,8 +1,10 @@
# d10v simulator testsuite. # d10v simulator testsuite.
if [istarget d10v*-*] { if [istarget d10v*-*] {
# load support procs (none yet) # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "d10v"
# all machines # all machines
set all_machs "d10v" set all_machs "d10v"

View File

@ -1,3 +1,9 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp, fr400/allinsn.exp, fr500/allinsn.exp,
fr550/allinsn.exp, interrupts.exp, misc.exp,
parallel.exp: Define arch.
2021-01-15 Mike Frysinger <vapier@gentoo.org> 2021-01-15 Mike Frysinger <vapier@gentoo.org>
* cache.ms: New testcase from ../../frv-elf/. * cache.ms: New testcase from ../../frv-elf/.

View File

@ -1,8 +1,10 @@
# FRV simulator testsuite. # FRV simulator testsuite.
if [istarget frv*-*] { if [istarget frv*-*] {
# load support procs (none yet) # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "frv"
# all machines # all machines
set all_machs "frv fr500 fr550 fr400 fr405 fr450" set all_machs "frv fr500 fr550 fr400 fr405 fr450"
set cpu_option -mcpu set cpu_option -mcpu

View File

@ -1,8 +1,10 @@
# FRV simulator testsuite. # FRV simulator testsuite.
if [istarget frv*-*] { if [istarget frv*-*] {
# load support procs (none yet) # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "frv"
# all machines # all machines
set all_machs "fr400 fr405 fr450 fr550" set all_machs "fr400 fr405 fr450 fr550"
set cpu_option -mcpu set cpu_option -mcpu

View File

@ -1,8 +1,10 @@
# FRV simulator testsuite. # FRV simulator testsuite.
if [istarget frv*-*] { if [istarget frv*-*] {
# load support procs (none yet) # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "frv"
# all machines # all machines
set all_machs "frv fr500 fr550" set all_machs "frv fr500 fr550"
set cpu_option -mcpu set cpu_option -mcpu

View File

@ -1,8 +1,10 @@
# FRV simulator testsuite. # FRV simulator testsuite.
if [istarget frv*-*] { if [istarget frv*-*] {
# load support procs (none yet) # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "frv"
# all machines # all machines
set all_machs "fr550" set all_machs "fr550"
set cpu_option -mcpu set cpu_option -mcpu

View File

@ -1,8 +1,10 @@
# FRV simulator testsuite. # FRV simulator testsuite.
if [istarget frv*-*] { if [istarget frv*-*] {
# load support procs (none yet) # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "frv"
# all machines # all machines
set all_machs "frv fr500 fr550 fr400" set all_machs "frv fr500 fr550 fr400"
set cpu_option -mcpu set cpu_option -mcpu

View File

@ -1,8 +1,10 @@
# Miscellaneous FRV simulator testcases. # Miscellaneous FRV simulator testcases.
if [istarget frv*-*] { if [istarget frv*-*] {
# load support procs (none yet) # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "frv"
# all machines # all machines
set all_machs "frv fr500 fr550 fr400 fr405 fr450" set all_machs "frv fr500 fr550 fr400 fr405 fr450"
set cpu_option -mcpu set cpu_option -mcpu

View File

@ -1,8 +1,10 @@
# FRV simulator testsuite. # FRV simulator testsuite.
if [istarget frv*-*] { if [istarget frv*-*] {
# load support procs (none yet) # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "frv"
# all machines # all machines
set all_machs "frv fr500 fr550 fr400" set all_machs "frv fr500 fr550 fr400"
set cpu_option -mcpu set cpu_option -mcpu

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2015-10-12 James Bowman <james.bowman@ftdichip.com> 2015-10-12 James Bowman <james.bowman@ftdichip.com>
* basic.s: Add test for memory size link parameters. * basic.s: Add test for memory size link parameters.

View File

@ -1,6 +1,10 @@
# ft32 simulator testsuite # ft32 simulator testsuite
if [istarget ft32-*] { if [istarget ft32-*] {
# Used to locate the `run` program.
global arch
set arch "ft32"
# all machines # all machines
set all_machs "ft32" set all_machs "ft32"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2021-01-05 Mike Frysinger <vapier@gentoo.org> 2021-01-05 Mike Frysinger <vapier@gentoo.org>
* rotl.s (mach): Set to "h8300s h8sx". * rotl.s (mach): Set to "h8300s h8sx".

View File

@ -1,6 +1,10 @@
# Hitachi H8/300 (h, s, sx) simulator testsuite # Hitachi H8/300 (h, s, sx) simulator testsuite
if {[istarget h8300*-*-*] || [istarget h8sx*-*-*]} then { if {[istarget h8300*-*-*] || [istarget h8sx*-*-*]} then {
# Used to locate the `run` program.
global arch
set arch "h8300"
set all_machs "h8300 h8300h h8300s h8sx" set all_machs "h8300 h8300h h8300s h8sx"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] { foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2015-04-05 Mike Frysinger <vapier@gentoo.org> 2015-04-05 Mike Frysinger <vapier@gentoo.org>
* pass.s, allinsn.exp, testutils.inc: New files. * pass.s, allinsn.exp, testutils.inc: New files.

View File

@ -1,6 +1,10 @@
# iq2000 simulator testsuite # iq2000 simulator testsuite
if [istarget iq2000-*] { if [istarget iq2000-*] {
# Used to locate the `run` program.
global arch
set arch "iq2000"
# all machines # all machines
set all_machs "iq2000" set all_machs "iq2000"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2015-04-05 Mike Frysinger <vapier@gentoo.org> 2015-04-05 Mike Frysinger <vapier@gentoo.org>
* pass.s, allinsn.exp, testutils.inc: New files. * pass.s, allinsn.exp, testutils.inc: New files.

View File

@ -1,6 +1,10 @@
# lm32 simulator testsuite # lm32 simulator testsuite
if [istarget lm32-*] { if [istarget lm32-*] {
# Used to locate the `run` program.
global arch
set arch "lm32"
# all machines # all machines
set all_machs "lm32" set all_machs "lm32"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2015-11-14 Mike Frysinger <vapier@gentoo.org> 2015-11-14 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: New file. * allinsn.exp: New file.

View File

@ -2,6 +2,10 @@
# TODO: Add support for .c tests. # TODO: Add support for .c tests.
if [istarget m32c*-*-*] { if [istarget m32c*-*-*] {
# Used to locate the `run` program.
global arch
set arch "m32c"
# all machines # all machines
set all_machs "m32c" set all_machs "m32c"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp, misc.exp: Define arch.
2021-01-15 Mike Frysinger <vapier@gentoo.org> 2021-01-15 Mike Frysinger <vapier@gentoo.org>
* exit47.ms: New testcase from ../../m32r-elf/. * exit47.ms: New testcase from ../../m32r-elf/.

View File

@ -1,8 +1,9 @@
# M32R simulator testsuite. # M32R simulator testsuite.
if [istarget m32r*-*-*] { if [istarget m32r*-*-*] {
# load support procs # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "m32r"
# all machines # all machines
set all_machs "m32r" set all_machs "m32r"

View File

@ -1,8 +1,9 @@
# Miscellaneous M32R simulator testcases # Miscellaneous M32R simulator testcases
if [istarget m32r*-*-*] { if [istarget m32r*-*-*] {
# load support procs # Used to locate the `run` program.
# load_lib cgen.exp global arch
set arch "m32r"
# all machines # all machines
set all_machs "m32r" set all_machs "m32r"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2015-04-05 Mike Frysinger <vapier@gentoo.org> 2015-04-05 Mike Frysinger <vapier@gentoo.org>
* pass.s, allinsn.exp, testutils.inc: New files. * pass.s, allinsn.exp, testutils.inc: New files.

View File

@ -1,6 +1,10 @@
# m68hc11 simulator testsuite # m68hc11 simulator testsuite
if [istarget m68hc11-*] { if [istarget m68hc11-*] {
# Used to locate the `run` program.
global arch
set arch "m68hc11"
# all machines # all machines
set all_machs "m68hc11" set all_machs "m68hc11"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2015-11-15 Mike Frysinger <vapier@gentoo.org> 2015-11-15 Mike Frysinger <vapier@gentoo.org>
* fail.s: New test. * fail.s: New test.

View File

@ -1,6 +1,10 @@
# mcore simulator testsuite # mcore simulator testsuite
if [istarget mcore-*] { if [istarget mcore-*] {
# Used to locate the `run` program.
global arch
set arch "mcore"
# all machines # all machines
set all_machs "mcore" set all_machs "mcore"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2015-03-29 Mike Frysinger <vapier@gentoo.org> 2015-03-29 Mike Frysinger <vapier@gentoo.org>
* pass.s, allinsn.exp, testutils.inc: New files. * pass.s, allinsn.exp, testutils.inc: New files.

View File

@ -1,6 +1,10 @@
# microblaze simulator testsuite # microblaze simulator testsuite
if [istarget microblaze-*] { if [istarget microblaze-*] {
# Used to locate the `run` program.
global arch
set arch "microblaze"
# all machines # all machines
set all_machs "microblaze" set all_machs "microblaze"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* basic.exp: Define arch.
2016-01-06 Joel Brobecker <brobecker@adacore.com> 2016-01-06 Joel Brobecker <brobecker@adacore.com>
* hilo-hazard-4.s: Change copyright ownder to FSF. * hilo-hazard-4.s: Change copyright ownder to FSF.

View File

@ -42,6 +42,9 @@ proc run_sim_tests { name requested_machs { requested_micromips_machs "" } } {
# Only test mips*-*-elf (e.g., no mips*-*-linux) # Only test mips*-*-elf (e.g., no mips*-*-linux)
if {[istarget mips*-*-elf]} { if {[istarget mips*-*-elf]} {
# Used to locate the `run` program.
global arch
set arch "mips"
set dspmodels "" set dspmodels ""
set mdmxmodels "" set mdmxmodels ""

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2015-04-05 Mike Frysinger <vapier@gentoo.org> 2015-04-05 Mike Frysinger <vapier@gentoo.org>
* pass.s, allinsn.exp, testutils.inc: New files. * pass.s, allinsn.exp, testutils.inc: New files.

View File

@ -1,6 +1,10 @@
# mn10300 simulator testsuite # mn10300 simulator testsuite
if [istarget mn10300-*] { if [istarget mn10300-*] {
# Used to locate the `run` program.
global arch
set arch "mn10300"
# all machines # all machines
set all_machs "mn10300" set all_machs "mn10300"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2015-04-05 Mike Frysinger <vapier@gentoo.org> 2015-04-05 Mike Frysinger <vapier@gentoo.org>
* pass.s, allinsn.exp, testutils.inc: New files. * pass.s, allinsn.exp, testutils.inc: New files.

View File

@ -1,6 +1,10 @@
# moxie simulator testsuite # moxie simulator testsuite
if [istarget moxie-*] { if [istarget moxie-*] {
# Used to locate the `run` program.
global arch
set arch "moxie"
# all machines # all machines
set all_machs "moxie" set all_machs "moxie"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2020-08-05 Jozef Lawrynowicz <jozef.l@mittosystems.com> 2020-08-05 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* mpyull_hwmult.s: New test. * mpyull_hwmult.s: New test.

View File

@ -1,6 +1,10 @@
# msp430 simulator testsuite # msp430 simulator testsuite
if [istarget msp430-*] { if [istarget msp430-*] {
# Used to locate the `run` program.
global arch
set arch "msp430"
# all machines # all machines
set all_machs "msp430" set all_machs "msp430"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* alltests.exp: Define arch.
2019-06-13 Stafford Horne <shorne@gmail.com> 2019-06-13 Stafford Horne <shorne@gmail.com>
* fpu-unordered.S: New file. * fpu-unordered.S: New file.

View File

@ -16,6 +16,9 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
if [istarget or1k*-*-*] { if [istarget or1k*-*-*] {
# Used to locate the `run` program.
global arch
set arch "or1k"
set all_machs "or1k" set all_machs "or1k"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2020-11-12 Dimitar Dimitrov <dimitar@dinux.eu> 2020-11-12 Dimitar Dimitrov <dimitar@dinux.eu>
* lmbd.s: New test. * lmbd.s: New test.

View File

@ -19,6 +19,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
if [istarget pru-*] { if [istarget pru-*] {
# Used to locate the `run` program.
global arch
set arch "pru"
# all machines # all machines
set all_machs "pru" set all_machs "pru"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2021-02-04 Mike Frysinger <vapier@gentoo.org> 2021-02-04 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp, pass.s, testutils.inc: New files. * allinsn.exp, pass.s, testutils.inc: New files.

View File

@ -1,6 +1,10 @@
# RISC-V simulator testsuite. # RISC-V simulator testsuite.
if [istarget riscv*-*] { if [istarget riscv*-*] {
# Used to locate the `run` program.
global arch
set arch "riscv"
# all machines # all machines
set all_machs "riscv" set all_machs "riscv"

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.
2004-09-13 DJ Delorie <dj@redhat.com> 2004-09-13 DJ Delorie <dj@redhat.com>
* sim/sh/allinsn.exp: Set global_as_options and * sim/sh/allinsn.exp: Set global_as_options and

View File

@ -13,6 +13,10 @@ foreach opt $board_variant_list {
} }
if [istarget sh-*elf] { if [istarget sh-*elf] {
# Used to locate the `run` program.
global arch
set arch "sh"
run_sim_test add.s $all run_sim_test add.s $all
run_sim_test and.s $all run_sim_test and.s $all
run_sim_test bandor.s sh run_sim_test bandor.s sh

View File

@ -1,3 +1,7 @@
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsns.exp: Define arch.
2008-02-05 DJ Delorie <dj@redhat.com> 2008-02-05 DJ Delorie <dj@redhat.com>
* .: New directory. * .: New directory.

View File

@ -3,10 +3,11 @@
if [istarget v850*-*] { if [istarget v850*-*] {
global opt global opt
# load support procs (none yet) # Used to locate the `run` program.
# load_lib cgen.exp global arch
# all machines set arch "v850"
# all machines
switch -regexp -- $opt { switch -regexp -- $opt {
.*v850e.* { .*v850e.* {
set all_machs "v850e" set all_machs "v850e"
@ -36,4 +37,3 @@ if [istarget v850*-*] {
# } # }
# puts [format "%-30s %s" $var "[set ::$var]"] # puts [format "%-30s %s" $var "[set ::$var]"]
#} #}