REBASE: fixing xthread instruction decoding.
This commit is contained in:
@@ -69,6 +69,7 @@ enum class PPCOpcodeType {
|
||||
typedef int (*InstrEmitFn)(PPCHIRBuilder& f, const InstrData& i);
|
||||
|
||||
struct PPCOpcodeInfo {
|
||||
PPCOpcodeGroup group;
|
||||
PPCOpcodeType type;
|
||||
InstrEmitFn emit;
|
||||
};
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace cpu {
|
||||
namespace ppc {
|
||||
|
||||
#define INSTRUCTION(opcode, mnem, form, group, type) \
|
||||
{PPCOpcodeType::type, nullptr}
|
||||
{PPCOpcodeGroup::group, PPCOpcodeType::type, nullptr}
|
||||
PPCOpcodeInfo ppc_opcode_table[] = {
|
||||
INSTRUCTION(0x7c000014, "addcx" , kXO , kI, kGeneral),
|
||||
INSTRUCTION(0x7c000114, "addex" , kXO , kI, kGeneral),
|
||||
|
||||
Reference in New Issue
Block a user