2002-12-27 Chris Demetriou <cgd@broadcom.com>
authorChris Demetriou <cgd@google.com>
Fri, 27 Dec 2002 23:51:49 +0000 (23:51 +0000)
committerChris Demetriou <cgd@google.com>
Fri, 27 Dec 2002 23:51:49 +0000 (23:51 +0000)
commit5915a74a945b646b95eb9e9a8edc825ec9aaa471
tree515a78cb5f73daecfa90308b09f46a37388734c1
parentc567df0a785160c9773b3e2f635688bb62b55d95
2002-12-27  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips.exp: Define the notion of an "architecture data
        array," add comments indicating how to add a new architecture and
        suggestions for adding new tests.  Populate the architecture data
        array with many known architectures and convert many tests to
        be run for multiple architectures.
        (mips_arches): New global array.
        (mips_arch_create, mips_arch_list_all, mips_arch_data)
        (mips_arch_displayname, mips_arch_properties)
        (mips_arch_as_flags, mips_arch_objdump_flags, mips_arch_matches)
        (mips_arch_list_matching): New functions to operate on mips_arches.
        (run_dump_test_arch, run_dump_test_arches, run_list_test_arch)
        (run_list_test_arches): New functions.
        (run_list_test): Document and add an optional "test name" argument.
        * gas/mips/abs.d: Remove CPU-specific assembler and objdump flags,
        and CPU names from test names.
        * gas/mips/add.d: Likewise.
        * gas/mips/and.d: Likewise.
        * gas/mips/dli.d: Likewise.
        * gas/mips/jal-empic-elf-2.d: Likewise.
        * gas/mips/jal-empic-elf-3.d: Likewise.
        * gas/mips/jal-empic-elf.d: Likewise.
        * gas/mips/lb-svr4pic.d: Likewise.
        * gas/mips/lb.d: Likewise.
        * gas/mips/mips32.d: Likewise.
        * gas/mips/mips4.d: Likewise.
        * gas/mips/mips64.d: Likewise.
        * gas/mips/rol-hw.d: Likewise.
        * gas/mips/rol.d: Likewise.
        * gas/mips/rol64-hw.d: Likewise.
        * gas/mips/rol64.d: Likewise.
        * gas/mips/elf-jal.d: Likewise.  Also, indicate ELF in test name.
        * gas/mips/mips64-mdmx.d: Tweak printed name to indicate that this
        test uses the -mdmx flag.
        * gas/mips/mips64-mips3d.d: Tweak printed name to indicate that
        this test uses the -mips3d flag.
        * gas/mips/mips64-mips3d-incl.d: New file.
22 files changed:
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/abs.d
gas/testsuite/gas/mips/add.d
gas/testsuite/gas/mips/and.d
gas/testsuite/gas/mips/dli.d
gas/testsuite/gas/mips/elf-jal.d
gas/testsuite/gas/mips/jal-empic-elf-2.d
gas/testsuite/gas/mips/jal-empic-elf-3.d
gas/testsuite/gas/mips/jal-empic-elf.d
gas/testsuite/gas/mips/lb-svr4pic.d
gas/testsuite/gas/mips/lb.d
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mips32.d
gas/testsuite/gas/mips/mips4.d
gas/testsuite/gas/mips/mips64-mdmx.d
gas/testsuite/gas/mips/mips64-mips3d-incl.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips64-mips3d.d
gas/testsuite/gas/mips/mips64.d
gas/testsuite/gas/mips/rol-hw.d
gas/testsuite/gas/mips/rol.d
gas/testsuite/gas/mips/rol64-hw.d
gas/testsuite/gas/mips/rol64.d