]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2013-09-12 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
authorChao-ying Fu <fu@mips.com>
Thu, 12 Sep 2013 21:45:04 +0000 (21:45 +0000)
committerChao-ying Fu <fu@mips.com>
Thu, 12 Sep 2013 21:45:04 +0000 (21:45 +0000)
* gas/mips/bltzal.s: New file.
* gas/mips/bltzal.l: New file.
* gas/mips/mips.exp: Run the bltzal test.

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

index d960d7af4445393adaa431250f1fff1bacc7be60..ac33815b33352540836b9b8708ed7441bb6a1fa5 100644 (file)
@@ -1,3 +1,9 @@
+2013-09-12  Chao-ying Fu  <Chao-ying.Fu@imgtec.com>
+
+       * gas/mips/bltzal.s: New file.
+       * gas/mips/bltzal.l: New file.
+       * gas/mips/mips.exp: Run the bltzal test.
+
 2013-09-12  Nick Clifton  <nickc@redhat.com>
 
        * gas/cfi/cfi-alpha-1.d: Update expected output to allow for
diff --git a/gas/testsuite/gas/mips/bltzal.l b/gas/testsuite/gas/mips/bltzal.l
new file mode 100644 (file)
index 0000000..1237b6f
--- /dev/null
@@ -0,0 +1,7 @@
+.*: Assembler messages:
+.*:3: Error: the source register must not be \$31.*
+.*:4: Error: the source register must not be \$31.*
+.*:6: Error: the source register must not be \$31.*
+.*:7: Error: the source register must not be \$31.*
+.*:9: Error: the source register must not be \$31.*
+.*:10: Error: the source register must not be \$31.*
diff --git a/gas/testsuite/gas/mips/bltzal.s b/gas/testsuite/gas/mips/bltzal.s
new file mode 100644 (file)
index 0000000..b4b5cb2
--- /dev/null
@@ -0,0 +1,10 @@
+       .set    reorder
+test:
+       bltzal  $31, test
+       bgezal  $31, test
+       .set    mips2
+       bltzall $31, test
+       bgezall $31, test
+       .set    micromips
+       bltzals $31, test
+       bgezals $31, test
index 4538aca94c3f1abd5827e99ca6a54965f4f81a21..28c30d6f3944fc969d5be683f3eeb00e72a35c6a 100644 (file)
@@ -1146,4 +1146,5 @@ if { [istarget mips*-*-vxworks*] } {
     run_dump_test_arches "ulh-reloc"   [mips_arch_list_matching mips2]
 
     run_dump_test "l_d-reloc"
+    run_list_test "bltzal"
 }