From: Jeff Law Date: Sun, 22 Mar 1998 19:56:37 +0000 (+0000) Subject: * vu0.h (vcallms): Use 'O' for call target operand. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98f699f653dd800c0fbcdfe14633adba7aefc53e;p=binutils-gdb.git * vu0.h (vcallms): Use 'O' for call target operand. * mips-dis.c (print_insn_arg): Handle 'O'. --- diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c index f2b18478cce..f7f29bc1b8b 100644 --- a/opcodes/mips-dis.c +++ b/opcodes/mips-dis.c @@ -288,6 +288,13 @@ print_insn_arg (d, l, pc, info) case 'U': (*info->fprintf_func) (info->stream, "ACC"); break; + + case 'O': + delta = (l >> 6) & 0x7fff; + delta <<= 3; + (*info->print_address_func) (delta, info); + break; + /* end-sanitize-r5900 */ case 'T': @@ -549,7 +556,7 @@ _print_insn_mips (memaddr, word, info) /* start-sanitize-r5900 */ /* If this is an escape character, go ahead and print the next character in the arg string verbatim. */ - if (*d == '%') + if (*d == '#') { d++; (*info->fprintf_func) (info->stream, "%c", *d); diff --git a/opcodes/vu0.h b/opcodes/vu0.h index d29406267d4..d27f16f3775 100644 --- a/opcodes/vu0.h +++ b/opcodes/vu0.h @@ -40,7 +40,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * {"vaddax", "&UK,2K,1#x", 0x4a00003c, 0xfe0007ff, 0, T5}, {"vadday", "&UK,2K,1#y", 0x4a00003d, 0xfe0007ff, 0, T5}, {"vaddaz", "&UK,2K,1#z", 0x4a00003e, 0xfe0007ff, 0, T5}, -{"vcallms","p", 0x4a000038, 0xffe0003f, 0, T5}, +{"vcallms","O", 0x4a000038, 0xffe0003f, 0, T5}, {"vcallmsr", "9", 0x4a009839, 0xffffffff, 0, T5}, {"vclip","2", 0x4be001ff, 0xffff07ff, 0, T5}, {"vdiv","Q,8,7", 0x4a0003bc, 0xfe0007ff, 0, T5},