aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-06-12 10:35:24 +0000
committerNick Clifton <nickc@redhat.com>2001-06-12 10:35:24 +0000
commite1f44d1052d735fa63401ab4dc7f3cb1070f8223 (patch)
treedf7feda7179eca662fd1600cc4d11d64b6ca9b63 /gas/testsuite
parent3971ce954fddbcb8154267ebc18a34c5967ff17b (diff)
downloadgdb-e1f44d1052d735fa63401ab4dc7f3cb1070f8223.zip
gdb-e1f44d1052d735fa63401ab4dc7f3cb1070f8223.tar.gz
gdb-e1f44d1052d735fa63401ab4dc7f3cb1070f8223.tar.bz2
Fix m68k/mri mode problems.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/mri/for.d2
-rw-r--r--gas/testsuite/gas/mri/if.d10
-rw-r--r--gas/testsuite/gas/mri/repeat.d2
-rw-r--r--gas/testsuite/gas/mri/while.d2
5 files changed, 15 insertions, 8 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index c49daad..7d97840 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2001-06-06 Peter Jakubek <pjak@snafu.de>
+
+ * gas/mri/for.d: Correct for swapped operands.
+ * gas/mri/if.d: Likewise.
+ * gas/mri/repeat.d: Likewise.
+ * gas/mri/while.d: Likewise.
+
2001-06-12 Alan Modra <amodra@bigpond.net.au>
* gas/i386/x86_64.d: Update for 2001-06-11 disassembler change.
diff --git a/gas/testsuite/gas/mri/for.d b/gas/testsuite/gas/mri/for.d
index e75fb95..ac62f7c 100644
--- a/gas/testsuite/gas/mri/for.d
+++ b/gas/testsuite/gas/mri/for.d
@@ -21,7 +21,7 @@ Disassembly of section .text:
0+01c <foo\+(0x|)1c> cmpiw #1,%d0
0+020 <foo\+(0x|)20> bgts 0+030 <foo\+(0x|)30>
0+022 <foo\+(0x|)22> cmpiw #100,%d1
-0+026 <foo\+(0x|)26> bgts 0+02a <foo\+(0x|)2a>
+0+026 <foo\+(0x|)26> blts 0+02a <foo\+(0x|)2a>
0+028 <foo\+(0x|)28> bras 0+02c <foo\+(0x|)2c>
0+02a <foo\+(0x|)2a> addw %d0,%d1
0+02c <foo\+(0x|)2c> subqw #1,%d0
diff --git a/gas/testsuite/gas/mri/if.d b/gas/testsuite/gas/mri/if.d
index 832972c..9547086 100644
--- a/gas/testsuite/gas/mri/if.d
+++ b/gas/testsuite/gas/mri/if.d
@@ -8,18 +8,18 @@
Disassembly of section .text:
0+000 <foo> cmpw %d1,%d0
-0+002 <foo\+(0x|)2> bles 0+014 <foo\+(0x|)14>
+0+002 <foo\+(0x|)2> bges 0+014 <foo\+(0x|)14>
0+004 <foo\+(0x|)4> cmpw %d2,%d0
-0+006 <foo\+(0x|)6> bles 0+014 <foo\+(0x|)14>
+0+006 <foo\+(0x|)6> bges 0+014 <foo\+(0x|)14>
0+008 <foo\+(0x|)8> cmpw %d1,%d2
-0+00a <foo\+(0x|)a> bles 0+010 <foo\+(0x|)10>
+0+00a <foo\+(0x|)a> bges 0+010 <foo\+(0x|)10>
0+00c <foo\+(0x|)c> movew %d1,%d3
0+00e <foo\+(0x|)e> bras 0+012 <foo\+(0x|)12>
0+010 <foo\+(0x|)10> movew %d2,%d3
0+012 <foo\+(0x|)12> bras 0+01e <foo\+(0x|)1e>
0+014 <foo\+(0x|)14> cmpw %d0,%d1
-0+016 <foo\+(0x|)16> bgts 0+01c <foo\+(0x|)1c>
+0+016 <foo\+(0x|)16> blts 0+01c <foo\+(0x|)1c>
0+018 <foo\+(0x|)18> cmpw %d0,%d2
-0+01a <foo\+(0x|)1a> bles 0+01e <foo\+(0x|)1e>
+0+01a <foo\+(0x|)1a> bges 0+01e <foo\+(0x|)1e>
0+01c <foo\+(0x|)1c> movew %d0,%d3
0+01e <foo\+(0x|)1e> nop
diff --git a/gas/testsuite/gas/mri/repeat.d b/gas/testsuite/gas/mri/repeat.d
index 3cc5f63..e3c863f 100644
--- a/gas/testsuite/gas/mri/repeat.d
+++ b/gas/testsuite/gas/mri/repeat.d
@@ -11,6 +11,6 @@ Disassembly of section .text:
0+002 <foo\+(0x|)2> clrw %d1
0+004 <foo\+(0x|)4> addqw #1,%d1
0+006 <foo\+(0x|)6> cmpiw #10,%d1
-0+00a <foo\+(0x|)a> bgts 0+004 <foo\+(0x|)4>
+0+00a <foo\+(0x|)a> blts 0+004 <foo\+(0x|)4>
0+00c <foo\+(0x|)c> nop
0+00e <foo\+(0x|)e> nop
diff --git a/gas/testsuite/gas/mri/while.d b/gas/testsuite/gas/mri/while.d
index d8dd37a..40934f1 100644
--- a/gas/testsuite/gas/mri/while.d
+++ b/gas/testsuite/gas/mri/while.d
@@ -11,7 +11,7 @@ Disassembly of section .text:
0+002 <foo\+(0x|)2> bras 0+000 <foo>
0+004 <foo\+(0x|)4> clrw %d1
0+006 <foo\+(0x|)6> cmpiw #10,%d1
-0+00a <foo\+(0x|)a> blts 0+010 <foo\+(0x|)10>
+0+00a <foo\+(0x|)a> bgts 0+010 <foo\+(0x|)10>
0+00c <foo\+(0x|)c> addqw #1,%d1
0+00e <foo\+(0x|)e> bras 0+006 <foo\+(0x|)6>
0+010 <foo\+(0x|)10> nop