Refactoring patch by DevHC
This commit is contained in:
parent
21668c0616
commit
fef4d12d68
31 changed files with 60 additions and 98 deletions
|
@ -389,8 +389,7 @@ static const struct powerpc_operand powerpc_operands[] =
|
|||
|
||||
};
|
||||
|
||||
static const unsigned int num_powerpc_operands =
|
||||
(sizeof (powerpc_operands) / sizeof (powerpc_operands[0]));
|
||||
static const unsigned int num_powerpc_operands = ARRAY_LEN (powerpc_operands);
|
||||
|
||||
/* The functions used to insert and extract complicated operands. */
|
||||
|
||||
|
@ -1004,6 +1003,3 @@ static const struct powerpc_opcode powerpc_opcodes[] = {
|
|||
{ "fsub", A(63,20,0), AFRC_MASK, PPCCOM, { FRT, FRA, FRB } },
|
||||
{ "fneg", XRC(63,40,0), XRA_MASK, COM, { FRT, FRB } },
|
||||
};
|
||||
|
||||
static const int powerpc_num_opcodes =
|
||||
sizeof (powerpc_opcodes) / sizeof (powerpc_opcodes[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue