diff options
author | Jan Hubicka <jh@suse.cz> | 2001-01-13 09:05:55 +0000 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2001-01-13 09:05:55 +0000 |
commit | e2914f484eed1dc5a9abd52301dae35f7500ff48 (patch) | |
tree | 219463cfd50346692bb759efd223bdfd6c2fb8ad /gas | |
parent | 272d76e0cbba693781509c939ddfda5941a50e9d (diff) | |
download | gdb-e2914f484eed1dc5a9abd52301dae35f7500ff48.zip gdb-e2914f484eed1dc5a9abd52301dae35f7500ff48.tar.gz gdb-e2914f484eed1dc5a9abd52301dae35f7500ff48.tar.bz2 |
* i386.c (md_assemble): Check cpu_flags even for nullary instructions.
* i386.h (i386_optab): Fix pusha and ret templates.
* i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret
templates.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 9 |
2 files changed, 13 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index cddf473..b1d0d33 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Sat Jan 13 01:47:35 MET 2001 Jan Hubicka <jh@suse.cz> + + * config/tc-i386.c (md_assemble): Check cpu_flags even for nullary + instructions. + 2001-01-12 Frank Ch. Eigler <fche@redhat.com> * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn. @@ -84,6 +89,7 @@ Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR. (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR. +>>>>>>> 1.724 2001-01-08 Bo Thorsen <bo@suse.de> * config/tc-i386.c (i386_immediate, i386_displacement): diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 7cca4cf..da2bf48 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1707,9 +1707,14 @@ md_assemble (line) || t->extension_opcode == 7))) /* 0xd9,7 "f{n}stcw" */ continue; + /* Do not verify operands when there are none. */ else if (!t->operands) - /* 0 operands always matches. */ - break; + { + if (t->cpu_flags & ~cpu_arch_flags) + continue; + /* We've found a match; break out of loop. */ + break; + } overlap0 = i.types[0] & t->operand_types[0]; switch (t->operands) |