PPC: Fix typo in instruction disassembly for mtspr.
This commit is contained in:
parent
aab946a36b
commit
4b607a68ba
|
@ -1689,9 +1689,9 @@ void PrintDisasm_mtmsrd(const PPCDecodeData& d, StringBuffer* str) {
|
||||||
str->AppendFormat("r%d", d.X.RS());
|
str->AppendFormat("r%d", d.X.RS());
|
||||||
}
|
}
|
||||||
void PrintDisasm_mtspr(const PPCDecodeData& d, StringBuffer* str) {
|
void PrintDisasm_mtspr(const PPCDecodeData& d, StringBuffer* str) {
|
||||||
// mtmspr [SPR], [RS]
|
// mtspr [SPR], [RS]
|
||||||
size_t str_start = str->length();
|
size_t str_start = str->length();
|
||||||
str->Append("mtmspr");
|
str->Append("mtspr");
|
||||||
PadStringBuffer(str, str_start, kNamePad);
|
PadStringBuffer(str, str_start, kNamePad);
|
||||||
str->AppendFormat("%d", d.XFX.SPR());
|
str->AppendFormat("%d", d.XFX.SPR());
|
||||||
str->Append(", ");
|
str->Append(", ");
|
||||||
|
|
|
@ -908,7 +908,7 @@
|
||||||
<insn mnem="mtspr" opcode="7c0003a6" form="XFX" group="c" desc="Move to Special-Purpose Register">
|
<insn mnem="mtspr" opcode="7c0003a6" form="XFX" group="c" desc="Move to Special-Purpose Register">
|
||||||
<in field="RS" />
|
<in field="RS" />
|
||||||
<out field="SPR" />
|
<out field="SPR" />
|
||||||
<disasm>mtmspr [SPR], [RS]</disasm>
|
<disasm>mtspr [SPR], [RS]</disasm>
|
||||||
</insn>
|
</insn>
|
||||||
<insn mnem="mulhdx" opcode="7c000092" form="XO" group="i" desc="Multiply High Doubleword">
|
<insn mnem="mulhdx" opcode="7c000092" form="XO" group="i" desc="Multiply High Doubleword">
|
||||||
<in field="RA" />
|
<in field="RA" />
|
||||||
|
|
Loading…
Reference in New Issue