diff options
author | Thiemo Seufer <ths@networkno.de> | 2002-07-09 14:21:40 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2002-07-09 14:21:40 +0000 |
commit | aec421e08bbb6921022f45cf5f19a194177f2afb (patch) | |
tree | ed791de238cf0d5678e713ad58922f39bb36b989 /gas | |
parent | a534e424ef4ba55edce00fcd0a9e85dcf2736b13 (diff) | |
download | gdb-aec421e08bbb6921022f45cf5f19a194177f2afb.zip gdb-aec421e08bbb6921022f45cf5f19a194177f2afb.tar.gz gdb-aec421e08bbb6921022f45cf5f19a194177f2afb.tar.bz2 |
* config/tc-mips.c (macro_build): Handle MIPS16 insns.
(mips_ip): Likewise.
* mips.h (INSN_MIPS16): New define.
* mips-dis.c (mips_isa_type): Add MIPS16 insn handling.
* mips-opc.c (I16): New define.
(mips_builtin_opcodes): Make jalx an I16 insn.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index dd26b0b..a825704 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config/tc-mips.c (macro_build): Handle MIPS16 insns. + (mips_ip): Likewise. + 2002-07-09 Alan Modra <amodra@bigpond.net.au> * config/tc-i386.c (md_pseudo_table <file>): Warning fix. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index ba4480c..2b88e56 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -2728,7 +2728,10 @@ macro_build (place, counter, ep, name, fmt, va_alist) MDMX or MIPS-3D instructions. */ if (strcmp (fmt, insn.insn_mo->args) == 0 && insn.insn_mo->pinfo != INSN_MACRO - && OPCODE_IS_MEMBER (insn.insn_mo, mips_opts.isa, mips_arch) + && OPCODE_IS_MEMBER (insn.insn_mo, + (mips_opts.isa + | (mips_opts.mips16 ? INSN_MIPS16 : 0)), + mips_arch) && (mips_arch != CPU_R4650 || (insn.insn_mo->pinfo & FP_D) == 0)) break; @@ -7733,6 +7736,7 @@ mips_ip (str, ip) if (OPCODE_IS_MEMBER (insn, (mips_opts.isa + | (mips_opts.mips16 ? INSN_MIPS16 : 0) | (mips_opts.ase_mdmx ? INSN_MDMX : 0) | (mips_opts.ase_mips3d ? INSN_MIPS3D : 0)), mips_arch)) |