aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-04-18 17:52:37 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-04-18 17:52:37 +0000
commitbb8f5920403b60671c504eda876c8283da2f2165 (patch)
tree3cef88a8216bb6a2010c973880cc5ac236cf213f /gas/testsuite
parent64e74474231c58939320d3ce95b8b8d9d54570cb (diff)
downloadgdb-bb8f5920403b60671c504eda876c8283da2f2165.zip
gdb-bb8f5920403b60671c504eda876c8283da2f2165.tar.gz
gdb-bb8f5920403b60671c504eda876c8283da2f2165.tar.bz2
gas/
2006-04-18 H.J. Lu <hongjiu.lu@intel.com> PR gas/2533 * config/tc-i386.c (i386_immediate): Check illegal immediate register operand. gas/testsuite/ 2006-04-18 H.J. Lu <hongjiu.lu@intel.com> PR gas/2533 * gas/i386/inval.s: Add test for illegal immediate register operand. * gas/i386/inval.l: Updated.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/i386/inval.l2
-rw-r--r--gas/testsuite/gas/i386/inval.s1
3 files changed, 10 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index bbc6ee8..4ab8470 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2006-04-18 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/2533
+ * gas/i386/inval.s: Add test for illegal immediate register
+ operand.
+ * gas/i386/inval.l: Updated.
+
2006-04-16 Nick Clifton <nickc@redhat.com>
* gas/arm/arch7.d: Skip test for non-ELF targets.
diff --git a/gas/testsuite/gas/i386/inval.l b/gas/testsuite/gas/i386/inval.l
index e789499..9f32368 100644
--- a/gas/testsuite/gas/i386/inval.l
+++ b/gas/testsuite/gas/i386/inval.l
@@ -45,6 +45,7 @@
.*:46: Error: .*
.*:47: Error: .*
.*:48: Error: .*
+.*:49: Error: .*
GAS LISTING .*
@@ -96,3 +97,4 @@ GAS LISTING .*
46 [ ]* fstb %st\(0\)
47 [ ]* fcompll 28\(%ebp\)
48 [ ]* fldlw \(%eax\)
+ 49 [ ]* movl \$%ebx,%eax
diff --git a/gas/testsuite/gas/i386/inval.s b/gas/testsuite/gas/i386/inval.s
index e37a18e..1571a2f 100644
--- a/gas/testsuite/gas/i386/inval.s
+++ b/gas/testsuite/gas/i386/inval.s
@@ -46,3 +46,4 @@ foo: jaw foo
fstb %st(0)
fcompll 28(%ebp)
fldlw (%eax)
+ movl $%ebx,%eax