OSDN Git Service

* gas/mips/jalr.s: New test.
authorclm <clm>
Wed, 2 Jan 2008 20:59:46 +0000 (20:59 +0000)
committerclm <clm>
Wed, 2 Jan 2008 20:59:46 +0000 (20:59 +0000)
    * gas/mips/jalr.l: New test output.
    * gas/mips/mips.exp: Run new test.

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/jalr.l [new file with mode: 0644]
gas/testsuite/gas/mips/jalr.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp

index 9b4849d..74b0a18 100644 (file)
@@ -1,3 +1,9 @@
+2008-01-02  Catherine Moore  <clm@codesourcery.com>
+
+       * gas/mips/jalr.s: New test.
+       * gas/mips/jalr.l: New test output.
+       * gas/mips/mips.exp: Run new test.
+
 2007-12-31  H.J. Lu  <hongjiu.lu@intel.com>
 
        * gas/i386/inval.s: Add test for cvtsi2ss/cvtsi2sd.
diff --git a/gas/testsuite/gas/mips/jalr.l b/gas/testsuite/gas/mips/jalr.l
new file mode 100644 (file)
index 0000000..fe4a5b9
--- /dev/null
@@ -0,0 +1,5 @@
+.*: Assembler messages:
+.*:1: Error: illegal operands.*
+.*:2: Error: a destination register must be supplied.*
+.*:3: Error: source and destinationations must be different.*
+
diff --git a/gas/testsuite/gas/mips/jalr.s b/gas/testsuite/gas/mips/jalr.s
new file mode 100644 (file)
index 0000000..fa63e43
--- /dev/null
@@ -0,0 +1,4 @@
+       jalr    $32
+       jalr    $31
+       jalr    $7, $7
+       jalr    $31, $2
index dd2eaef..b9d7dd5 100644 (file)
@@ -573,6 +573,7 @@ if { [istarget mips*-*-vxworks*] } {
 
     run_list_test "illegal" "-32"
     run_list_test "baddata1" "-32"
+    run_list_test "jalr" ""
 
     # LOSE: As of 2002-02-08, the next 4 tests fail for target mips-ecoff.
     # It's unknown whether they _should_ pass as-is, or whether different