mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
sim: d10v: relocate tests & clean up test harness
This is the only target using a dir directly under testsuite/. All others use sim/<arch>/ instead. Relocate it so all targets look the same, and so we can leverage the common test harness. We drop loop.s in the process because it was never referenced and was just 2 lines of code. All other test files are moved & have directives added to the top so that the test harness can invoke them correctly.
This commit is contained in:
@ -1,4 +1,11 @@
|
||||
2021-01-05 Mike Frysinger <vapier@gentoo.org>
|
||||
2021-01-15 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac (target): Delete d10v-*-elf case.
|
||||
* configure: Regenerate.
|
||||
* d10v-elf/: Move directory ...
|
||||
* sim/d10v/: ... here.
|
||||
|
||||
2021-01-15 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac (target): Delete mips64el-*-elf case.
|
||||
* configure: Regenerate.
|
||||
|
159
sim/testsuite/configure
vendored
159
sim/testsuite/configure
vendored
@ -582,11 +582,9 @@ PACKAGE_BUGREPORT=
|
||||
PACKAGE_URL=
|
||||
|
||||
ac_unique_file="common/bits-tst.c"
|
||||
enable_option_checking=no
|
||||
ac_subst_vars='LTLIBOBJS
|
||||
LIBOBJS
|
||||
sim_arch
|
||||
subdirs
|
||||
target_os
|
||||
target_vendor
|
||||
target_cpu
|
||||
@ -645,7 +643,7 @@ enable_option_checking
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
target_alias'
|
||||
ac_subdirs_all='d10v-elf'
|
||||
|
||||
|
||||
# Initialize some variables set by options.
|
||||
ac_init_help=
|
||||
@ -1825,16 +1823,6 @@ test -n "$target_alias" &&
|
||||
program_prefix=${target_alias}-
|
||||
|
||||
|
||||
# Configure sub-directory for appropriate targets
|
||||
case ${target} in
|
||||
d10v-*-elf )
|
||||
|
||||
|
||||
subdirs="$subdirs d10v-elf"
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# WHEN ADDING ENTRIES TO THIS MATRIX:
|
||||
|
||||
@ -3097,151 +3085,6 @@ if test "$no_create" != yes; then
|
||||
# would make configure fail if this is the last instruction.
|
||||
$ac_cs_success || as_fn_exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# CONFIG_SUBDIRS section.
|
||||
#
|
||||
if test "$no_recursion" != yes; then
|
||||
|
||||
# Remove --cache-file, --srcdir, and --disable-option-checking arguments
|
||||
# so they do not pile up.
|
||||
ac_sub_configure_args=
|
||||
ac_prev=
|
||||
eval "set x $ac_configure_args"
|
||||
shift
|
||||
for ac_arg
|
||||
do
|
||||
if test -n "$ac_prev"; then
|
||||
ac_prev=
|
||||
continue
|
||||
fi
|
||||
case $ac_arg in
|
||||
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
||||
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
||||
ac_prev=cache_file ;;
|
||||
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
||||
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
||||
| --c=*)
|
||||
;;
|
||||
--config-cache | -C)
|
||||
;;
|
||||
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
||||
ac_prev=srcdir ;;
|
||||
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
||||
;;
|
||||
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
||||
ac_prev=prefix ;;
|
||||
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
||||
;;
|
||||
--disable-option-checking)
|
||||
;;
|
||||
*)
|
||||
case $ac_arg in
|
||||
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
||||
esac
|
||||
as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Always prepend --prefix to ensure using the same prefix
|
||||
# in subdir configurations.
|
||||
ac_arg="--prefix=$prefix"
|
||||
case $ac_arg in
|
||||
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
||||
esac
|
||||
ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
|
||||
|
||||
# Pass --silent
|
||||
if test "$silent" = yes; then
|
||||
ac_sub_configure_args="--silent $ac_sub_configure_args"
|
||||
fi
|
||||
|
||||
# Always prepend --disable-option-checking to silence warnings, since
|
||||
# different subdirs can have different --enable and --with options.
|
||||
ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
|
||||
|
||||
ac_popdir=`pwd`
|
||||
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
||||
|
||||
# Do not complain, so a configure script can configure whichever
|
||||
# parts of a large source tree are present.
|
||||
test -d "$srcdir/$ac_dir" || continue
|
||||
|
||||
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
|
||||
$as_echo "$ac_msg" >&6
|
||||
as_dir="$ac_dir"; as_fn_mkdir_p
|
||||
ac_builddir=.
|
||||
|
||||
case "$ac_dir" in
|
||||
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
||||
*)
|
||||
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
||||
# A ".." for each directory in $ac_dir_suffix.
|
||||
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
||||
case $ac_top_builddir_sub in
|
||||
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
||||
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
||||
esac ;;
|
||||
esac
|
||||
ac_abs_top_builddir=$ac_pwd
|
||||
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
||||
# for backward compatibility:
|
||||
ac_top_builddir=$ac_top_build_prefix
|
||||
|
||||
case $srcdir in
|
||||
.) # We are building in place.
|
||||
ac_srcdir=.
|
||||
ac_top_srcdir=$ac_top_builddir_sub
|
||||
ac_abs_top_srcdir=$ac_pwd ;;
|
||||
[\\/]* | ?:[\\/]* ) # Absolute name.
|
||||
ac_srcdir=$srcdir$ac_dir_suffix;
|
||||
ac_top_srcdir=$srcdir
|
||||
ac_abs_top_srcdir=$srcdir ;;
|
||||
*) # Relative name.
|
||||
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
||||
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
||||
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
||||
esac
|
||||
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
||||
|
||||
|
||||
cd "$ac_dir"
|
||||
|
||||
# Check for guested configure; otherwise get Cygnus style configure.
|
||||
if test -f "$ac_srcdir/configure.gnu"; then
|
||||
ac_sub_configure=$ac_srcdir/configure.gnu
|
||||
elif test -f "$ac_srcdir/configure"; then
|
||||
ac_sub_configure=$ac_srcdir/configure
|
||||
elif test -f "$ac_srcdir/configure.in"; then
|
||||
# This should be Cygnus configure.
|
||||
ac_sub_configure=$ac_aux_dir/configure
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
|
||||
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
|
||||
ac_sub_configure=
|
||||
fi
|
||||
|
||||
# The recursion is here.
|
||||
if test -n "$ac_sub_configure"; then
|
||||
# Make the cache file name correct relative to the subdirectory.
|
||||
case $cache_file in
|
||||
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
||||
*) # Relative name.
|
||||
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
|
||||
esac
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
|
||||
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
||||
# The eval makes quoting arguments work.
|
||||
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
|
||||
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
|
||||
as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
|
||||
fi
|
||||
|
||||
cd "$ac_popdir"
|
||||
done
|
||||
fi
|
||||
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
||||
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
||||
|
@ -11,13 +11,6 @@ AC_SUBST(CC)
|
||||
AC_CONFIG_AUX_DIR(../..)
|
||||
AC_CANONICAL_SYSTEM
|
||||
|
||||
# Configure sub-directory for appropriate targets
|
||||
case ${target} in
|
||||
d10v-*-elf )
|
||||
AC_CONFIG_SUBDIRS(d10v-elf)
|
||||
;;
|
||||
esac
|
||||
|
||||
sinclude(../configure.tgt)
|
||||
|
||||
AC_OUTPUT(Makefile)
|
||||
|
@ -1,180 +0,0 @@
|
||||
# Makefile for regression testing the GNU debugger.
|
||||
# Copyright (C) 1992-2021 Free Software Foundation, Inc.
|
||||
|
||||
# This file is part of GDB.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
VPATH = @srcdir@
|
||||
srcdir = @srcdir@
|
||||
srcroot = $(srcdir)/..
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
host_alias = @host_alias@
|
||||
target_alias = @target_alias@
|
||||
program_transform_name = @program_transform_name@
|
||||
build_canonical = @build@
|
||||
host_canonical = @host@
|
||||
target_canonical = @target@
|
||||
target_cpu = @target_cpu@
|
||||
|
||||
|
||||
SHELL = /bin/sh
|
||||
SUBDIRS = @subdirs@
|
||||
RPATH_ENVVAR = @RPATH_ENVVAR@
|
||||
|
||||
TESTS = \
|
||||
exit47.ko \
|
||||
hello.hi \
|
||||
t-dbt.ok \
|
||||
t-ld-st.ok \
|
||||
t-mac.ok \
|
||||
t-mvtac.ok \
|
||||
t-mvtc.ok \
|
||||
t-msbu.ok \
|
||||
t-mulxu.ok \
|
||||
t-rac.ok \
|
||||
t-rachi.ok \
|
||||
t-rdt.ok \
|
||||
t-rep.ok \
|
||||
t-rte.ok \
|
||||
t-sac.ok \
|
||||
t-sachi.ok \
|
||||
t-sadd.ok \
|
||||
t-slae.ok \
|
||||
t-sp.ok \
|
||||
t-sub2w.ok \
|
||||
t-sub.ok \
|
||||
t-subi.ok \
|
||||
t-ae-ld-d.ok \
|
||||
t-ae-ld-i.ok \
|
||||
t-ae-ld-id.ok \
|
||||
t-ae-ld-im.ok \
|
||||
t-ae-ld-ip.ok \
|
||||
t-ae-ld2w-d.ok \
|
||||
t-ae-ld2w-i.ok \
|
||||
t-ae-ld2w-id.ok \
|
||||
t-ae-ld2w-im.ok \
|
||||
t-ae-ld2w-ip.ok \
|
||||
t-ae-st-d.ok \
|
||||
t-ae-st-i.ok \
|
||||
t-ae-st-id.ok \
|
||||
t-ae-st-im.ok \
|
||||
t-ae-st-ip.ok \
|
||||
t-ae-st-is.ok \
|
||||
t-ae-st2w-d.ok \
|
||||
t-ae-st2w-i.ok \
|
||||
t-ae-st2w-id.ok \
|
||||
t-ae-st2w-im.ok \
|
||||
t-ae-st2w-ip.ok \
|
||||
t-ae-st2w-is.ok \
|
||||
t-mod-ld-pre.ok \
|
||||
t-rie-xx.ok \
|
||||
#
|
||||
|
||||
AS_FOR_TARGET = `\
|
||||
if [ -x ../../../gas/as-new ]; then \
|
||||
echo ../../../gas/as-new ; \
|
||||
else \
|
||||
echo $(target_alias)-as ; \
|
||||
fi`
|
||||
|
||||
LD_FOR_TARGET = `\
|
||||
if [ -x ../../../ld/ld-new ]; then \
|
||||
echo ../../../ld/ld-new ; \
|
||||
else \
|
||||
echo $(target_alias)-ld ; \
|
||||
fi`
|
||||
|
||||
RUN_FOR_TARGET = `\
|
||||
if [ -x ../../../sim/d10v/run ]; then \
|
||||
echo ../../../sim/d10v/run ; \
|
||||
else \
|
||||
echo $(target_alias)-run ; \
|
||||
fi`
|
||||
|
||||
# Force d10v into operating mode.
|
||||
RUNFLAGS_FOR_TARGET=--environment operating
|
||||
|
||||
|
||||
check: sanity $(TESTS)
|
||||
sanity:
|
||||
@eval echo AS_FOR_TARGET=$(AS_FOR_TARGET)
|
||||
@eval echo LD_FOR_TARGET=$(LD_FOR_TARGET)
|
||||
@eval echo RUN_FOR_TARGET=$(RUN_FOR_TARGET)
|
||||
|
||||
clean:
|
||||
rm -f $(TESTS)
|
||||
rm -f *.run *.o
|
||||
rm -f core *.core
|
||||
|
||||
# Rules for running the tests
|
||||
|
||||
.SUFFIXES: .ok .run .hi .ko .ti
|
||||
.run.ok:
|
||||
rm -f tmp-$* $*.hi
|
||||
ulimit -t 5 ; \
|
||||
$(RUN_FOR_TARGET) $(RUNFLAGS_FOR_TARGET) $*.run > tmp-$*
|
||||
mv tmp-$* $*.ok
|
||||
.run.hi:
|
||||
rm -f tmp-$* $*.hi diff-$*
|
||||
ulimit -t 5 ; \
|
||||
$(RUN_FOR_TARGET) $(RUNFLAGS_FOR_TARGET) $*.run > tmp-$*
|
||||
echo 'Hello World!' | diff - tmp-$* > diff-$*
|
||||
cat tmp-$* diff-$* > $*.hi
|
||||
.run.ko:
|
||||
rm -f tmp-$* $*.ko
|
||||
set +e ; \
|
||||
ulimit -t 5 ; \
|
||||
$(RUN_FOR_TARGET) $(RUNFLAGS_FOR_TARGET) $*.run > tmp-$* ; \
|
||||
if [ $$? -eq 47 ] ; then \
|
||||
exit 0 ; \
|
||||
else \
|
||||
exit 1 ; \
|
||||
fi
|
||||
mv tmp-$* $*.ko
|
||||
.run.ti:
|
||||
rm -f tmp-$* $*.ti
|
||||
set +e ; \
|
||||
ulimit -t 5 ; \
|
||||
$(RUN_FOR_TARGET) $(RUNFLAGS_FOR_TARGET) $(INTFLAGS_FOR_TARGET) $*.run > tmp-$*
|
||||
test `cat tmp-$* | wc -l` -eq 10 < /dev/null
|
||||
test `grep Tick tmp-$* | wc -l` -eq 10 < /dev/null
|
||||
mv tmp-$* $*.ti
|
||||
|
||||
|
||||
# Rules for building the test
|
||||
# Preference is for obtaining the executable (.run) from a prebuilt image
|
||||
|
||||
.SUFFIXES: .uue .s .S .run
|
||||
.uue.run:
|
||||
head $* | grep $*.run > /dev/null
|
||||
uudecode $*.uue
|
||||
.run.u:
|
||||
uuencode < $*.run $*.run > $*.u
|
||||
.o.run:
|
||||
$(LD_FOR_TARGET) $(LDFLAGS_FOR_TARGET) -o $*.run $*.o
|
||||
.s.o:
|
||||
$(AS_FOR_TARGET) $(ASFLAGS_FOR_TARGET) -I$(srcdir) $(srcdir)/$*.s -o $*.o
|
||||
.S.o:
|
||||
$(AS_FOR_TARGET) $(ASFLAGS_FOR_TARGET) -I$(srcdir) $(srcdir)/$*.S -o $*.o
|
||||
|
||||
|
||||
Makefile: Makefile.in config.status
|
||||
$(SHELL) ./config.status
|
||||
|
||||
config.status: configure
|
||||
$(SHELL) ./config.status --recheck
|
2984
sim/testsuite/d10v-elf/configure
vendored
2984
sim/testsuite/d10v-elf/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -1,18 +0,0 @@
|
||||
dnl Process this file file with autoconf to produce a configure script.
|
||||
dnl This file is a shell script fragment that supplies the information
|
||||
dnl necessary to tailor a template configure script into the configure
|
||||
dnl script appropriate for this directory. For more information, check
|
||||
dnl any existing configure script.
|
||||
|
||||
dnl FIXME - think of a truly uniq file to this directory
|
||||
AC_INIT(Makefile.in)
|
||||
|
||||
CC=${CC-cc}
|
||||
AC_SUBST(CC)
|
||||
AC_CONFIG_AUX_DIR(../../..)
|
||||
AC_CANONICAL_SYSTEM
|
||||
|
||||
AC_SUBST(target_cpu)
|
||||
|
||||
|
||||
AC_OUTPUT(Makefile)
|
@ -1,4 +0,0 @@
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
||||
exit47
|
@ -1,6 +0,0 @@
|
||||
.text
|
||||
.globl _start
|
||||
|
||||
_start:
|
||||
bra _start
|
||||
nop
|
@ -1,3 +1,8 @@
|
||||
2021-01-15 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* allinsn.exp: New file.
|
||||
* configure, configure.ac, loop.s, Makefile.in: Deleted.
|
||||
|
||||
2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* configure: Regnerate.
|
17
sim/testsuite/sim/d10v/allinsn.exp
Normal file
17
sim/testsuite/sim/d10v/allinsn.exp
Normal file
@ -0,0 +1,17 @@
|
||||
# d10v simulator testsuite.
|
||||
|
||||
if [istarget d10v*-*] {
|
||||
# load support procs (none yet)
|
||||
# load_lib cgen.exp
|
||||
# all machines
|
||||
set all_machs "d10v"
|
||||
|
||||
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 $all_machs
|
||||
}
|
||||
}
|
@ -1,5 +1,8 @@
|
||||
# mach: all
|
||||
# status: 47
|
||||
# output:
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
||||
|
||||
exit47
|
@ -1,3 +1,6 @@
|
||||
# mach: all
|
||||
# output: Hello World!\n
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,8 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
# as: -W
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: d10v
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.macro start
|
||||
.text
|
||||
.align 2
|
||||
@ -229,5 +233,3 @@ _start:
|
||||
VEC_SDBT = 0x3fff4
|
||||
VEC_DBI = 0x3ff58
|
||||
VEC_EI = 0x3ff5c
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
.section .rodata
|
||||
start
|
||||
|
||||
.text
|
||||
.globl main
|
||||
.type main,@function
|
||||
main:
|
||||
mvfc r0, PSW || ldi.s r14, #0
|
||||
ldi.l r2, 0x100 ; MOD_E
|
||||
ldi.l r3, 0x108 ; MOD_S
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,8 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
# as: -W
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,8 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
# as: -W
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
@ -1,3 +1,7 @@
|
||||
# mach: all
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
10
sim/testsuite/sim/d10v/t-trap.s
Normal file
10
sim/testsuite/sim/d10v/t-trap.s
Normal file
@ -0,0 +1,10 @@
|
||||
# mach: all
|
||||
# status: 47
|
||||
# output:
|
||||
# sim: --environment operating
|
||||
|
||||
.include "t-macros.i"
|
||||
|
||||
start
|
||||
|
||||
exit47
|
Reference in New Issue
Block a user