ppc/svp64: disassemble SVP64 name
[binutils-gdb.git] / opcodes / ppc-dis.c
index 16af4eb1ff7b304a0649f29b215019d01b60b674..aa8f9ea4c640cfcd0ebdb3100c59d4f6e4762ca1 100644 (file)
@@ -891,9 +891,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;