From d730b6d18fedaadcf45fc5dea8a6f7d1eeff8bce Mon Sep 17 00:00:00 2001 From: Chao-ying Fu Date: Thu, 12 Sep 2013 21:45:04 +0000 Subject: 2013-09-12 Chao-ying Fu * gas/mips/bltzal.s: New file. * gas/mips/bltzal.l: New file. * gas/mips/mips.exp: Run the bltzal test. --- gas/testsuite/ChangeLog | 6 ++++++ gas/testsuite/gas/mips/bltzal.l | 7 +++++++ gas/testsuite/gas/mips/bltzal.s | 10 ++++++++++ gas/testsuite/gas/mips/mips.exp | 1 + 4 files changed, 24 insertions(+) create mode 100644 gas/testsuite/gas/mips/bltzal.l create mode 100644 gas/testsuite/gas/mips/bltzal.s (limited to 'gas') diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index d960d7af44..ac33815b33 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2013-09-12 Chao-ying Fu + + * 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 * 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 index 0000000000..1237b6fcd8 --- /dev/null +++ b/gas/testsuite/gas/mips/bltzal.l @@ -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 index 0000000000..b4b5cb2d73 --- /dev/null +++ b/gas/testsuite/gas/mips/bltzal.s @@ -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 diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index 4538aca94c..28c30d6f39 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -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" } -- cgit v1.2.1