From: Dmitry Selyutin Date: Tue, 11 Apr 2023 18:27:26 +0000 (+0300) Subject: ppc/svp64: disassemble SVP64 name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=361d5395df9d175c3a1eb0c5f8cb60daa93000a4;p=binutils-gdb.git ppc/svp64: disassemble SVP64 name --- diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c index 42220420957..b9431bbe204 100644 --- a/opcodes/ppc-dis.c +++ b/opcodes/ppc-dis.c @@ -963,9 +963,11 @@ print_insn_powerpc_opcode (struct disassemble_info *info, int blanks; (*info->fprintf_styled_func) (info->stream, dis_style_mnemonic, - "%s", opcode->name); + "%s%s", + (svp64 ? "sv." : ""), + opcode->name); /* gdb fprintf_styled_func doesn't return count printed. */ - blanks = 8 - strlen (opcode->name); + blanks = (8 - (int)strlen (opcode->name) - (svp64 ? 3 : 2)); if (blanks <= 0) blanks = 1;