aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2004-11-06 01:50:21 +0000
committerH.J. Lu <hjl.tools@gmail.com>2004-11-06 01:50:21 +0000
commit3b645373bf467daee9675f402c164ae00d26f94f (patch)
treed5b79e047a734f42fe7d5f893c1766e1e6cd285b /gas
parentf059bf6fd2d81102fb64d784d9d9792e0206aefa (diff)
downloadfsf-binutils-gdb-3b645373bf467daee9675f402c164ae00d26f94f.zip
fsf-binutils-gdb-3b645373bf467daee9675f402c164ae00d26f94f.tar.gz
fsf-binutils-gdb-3b645373bf467daee9675f402c164ae00d26f94f.tar.bz2
2004-11-05 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/general.s: Add movzb. * gas/i386/general.l: Updated.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/i386/general.l10
-rw-r--r--gas/testsuite/gas/i386/general.s5
3 files changed, 17 insertions, 3 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 5b2623d..479b55c 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gas/i386/general.s: Add movzb.
+ * gas/i386/general.l: Updated.
+
2004-11-04 Hans-Peter Nilsson <hp@axis.com>
* gas/all/gas.exp: Exclude float.s for crisv32-*-*.
diff --git a/gas/testsuite/gas/i386/general.l b/gas/testsuite/gas/i386/general.l
index 51bbdf7..f0ddfc7 100644
--- a/gas/testsuite/gas/i386/general.l
+++ b/gas/testsuite/gas/i386/general.l
@@ -285,6 +285,10 @@
212 021d 67668984 248C0000 movl %eax,140\(%esp\)
212 00
213
- 214 # Force a good alignment.
- 215 0226 00000000 00000000 .p2align 4,0
- 215 0000
+ 214 .code32
+ 215 # Make sure that we won't remove movzb by accident.
+ 216 0226 660FB6F8 movzb %al,%di
+ 217 022a 0FB6C8 movzb %al,%ecx
+ 218
+ 219 # Force a good alignment.
+ 220 022d 000000 .p2align 4,0
diff --git a/gas/testsuite/gas/i386/general.s b/gas/testsuite/gas/i386/general.s
index 3d0403d..385b478 100644
--- a/gas/testsuite/gas/i386/general.s
+++ b/gas/testsuite/gas/i386/general.s
@@ -211,5 +211,10 @@
leal -1760(%ebp),%ebx
movl %eax,140(%esp)
+.code32
+# Make sure that we won't remove movzb by accident.
+ movzb %al,%di
+ movzb %al,%ecx
+
# Force a good alignment.
.p2align 4,0