powerpc: Fix incorrect disassembly of the cntlzw instruction in ddb.

Noticed while comparing disassembly between ddb and objdump.

Approved by: jhibbits (mentor)
Differential Revision: https://reviews.freebsd.org/D22121
This commit is contained in:
bdragon 2019-11-03 01:52:50 +00:00
parent 541045cb42
commit 7f395b6413

View File

@ -224,7 +224,7 @@ const struct opcode opcodes_1f[] = {
{ "ldx", 0xfc0007fe, 0x7c00002a, Op_D | Op_A | Op_B },
{ "lwzx", 0xfc0007fe, 0x7c00002e, Op_D | Op_A | Op_B },
{ "slw", 0xfc0007fe, 0x7c000030, Op_D | Op_A | Op_B | Op_Rc },
{ "cntlzw", 0xfc0007fe, 0x7c000034, Op_D | Op_A | Op_Rc },
{ "cntlzw", 0xfc0007fe, 0x7c000034, Op_S | Op_A | Op_Rc },
{ "sld", 0xfc0007fe, 0x7c000036, Op_D | Op_A | Op_B | Op_Rc },
{ "and", 0xfc0007fe, 0x7c000038, Op_D | Op_A | Op_B | Op_Rc },
{ "cmplw", 0xfc2007fe, 0x7c000040, Op_crfD | Op_A | Op_B },