-# Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+# Copyright 1999, 2000, 2002, 2005, 2007 Free Software Foundation, Inc.
# 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 2 of the License, or
+# 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,
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+# MA 02110-1301, USA.
# Please email any bugs, comments, and/or additions to this file to:
# hp@axis.com
#untested "disassembling special regs"
#untested "disassembling unimplemented special regs"
+ # *PLEASE* make new "simple" run_dump_test-tests match "rd-*.d", so
+ # they will be picked up automatically through this construct. This
+ # so you don't need to change cris.exp. (As perhaps should have been
+ # originally done for cases below, but which is not worth fixing now.)
+ set rd_test_list [lsort [glob -nocomplain $srcdir/$subdir/rd-*.d]]
+ for { set i 0 } { $i < [llength $rd_test_list] } { incr i } {
+ # We need to strip the ".d", but can leave the dirname.
+ verbose [file rootname [lindex $rd_test_list $i]]
+ run_dump_test [file rootname [lindex $rd_test_list $i]]
+ }
+
# Broken word handling got erroneously triggers for this and
# got out-of-bounds errors.
# FIXME: Check closer that this gets the expected results and fix
run_dump_test "break"
test_template_insn_reg regreg lz 73 "" "" 44
- # Additional insns for CRIS v8 (also the swapxxx insns other then "not" above).
+ # Additional insns for CRIS v8 (also the swapxxx insns other than "not" above).
test_template_insn_mem unop jirc 293 "@OC@\\." "jump-type" b93
test_template_insn_mem unop jsrc 393 "@OC@\\." "jump-type" b93
test_template_insn_mem unop jbrc 693 "@OC@\\." "jump-type" b93