+2019-05-11 Alan Modra <amodra@gmail.com>
+
+ * ppc-dis.c (print_insn_powerpc) Don't skip optional operands
+ when -Mraw is in effect.
+
2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
* aarch64-dis-2.c: Regenerate.
operand = powerpc_operands + *opindex;
- /* If all of the optional operands have the value zero,
- then don't print any of them. */
- if ((operand->flags & PPC_OPERAND_OPTIONAL) != 0)
+ /* If all of the optional operands past this one have their
+ default value, then don't print any of them. Except in
+ raw mode, print them all. */
+ if ((operand->flags & PPC_OPERAND_OPTIONAL) != 0
+ && (dialect & PPC_OPCODE_RAW) == 0)
{
if (!skip_optional)
skip_optional = skip_optional_operands (opindex, insn, dialect);