projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cbfb08
)
ppc/svp64: disassemble SVP64 name
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Sun, 28 May 2023 22:04:57 +0000
(
01:04
+0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 14 Nov 2023 19:53:35 +0000
(22:53 +0300)
opcodes/ppc-dis.c
patch
|
blob
|
history
diff --git
a/opcodes/ppc-dis.c
b/opcodes/ppc-dis.c
index 9cdc7e359f5f4c50db2fe6fd9f6f374fd95fb27d..a19b2a840614088375437ba86bbb3bb46ea66a5b 100644
(file)
--- a/
opcodes/ppc-dis.c
+++ b/
opcodes/ppc-dis.c
@@
-974,9
+974,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;