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:
6b575f2
)
ppc/svp64: disassemble SVP64 name
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 11 Apr 2023 18:27:26 +0000
(21:27 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Wed, 26 Apr 2023 16:47:42 +0000
(19:47 +0300)
opcodes/ppc-dis.c
patch
|
blob
|
history
diff --git
a/opcodes/ppc-dis.c
b/opcodes/ppc-dis.c
index 42220420957667f4bca9bd5374efd9ca6ee694be..b9431bbe2041490e1ac0c12327ee1b1b127089b8 100644
(file)
--- 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;