From 6f72df77108f3accd01c98d40fa4342e6f650188 Mon Sep 17 00:00:00 2001 From: Chao-ying Fu Date: Thu, 12 Sep 2013 21:45:04 +0000 Subject: [PATCH] 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 diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index d960d7af444..ac33815b333 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 00000000000..1237b6fcd85 --- /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 00000000000..b4b5cb2d73c --- /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 4538aca94c3..28c30d6f394 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" } -- 2.30.2