* config/tc-mips.c (macro): Use EXTRACT_OPERAND to get register
numbers.
This commit is contained in:
parent
c80c840e30
commit
bbea7ebcc5
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
|
||||
|
||||
* config/tc-mips.c (macro): Use EXTRACT_OPERAND to get register
|
||||
numbers.
|
||||
|
||||
2010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
|
||||
|
||||
* config/tc-mips.c (macro): Replace 0 with ZERO in macro_build
|
||||
|
|
|
@ -4823,9 +4823,9 @@ macro (struct mips_cl_insn *ip)
|
|||
|
||||
gas_assert (! mips_opts.mips16);
|
||||
|
||||
treg = (ip->insn_opcode >> 16) & 0x1f;
|
||||
dreg = (ip->insn_opcode >> 11) & 0x1f;
|
||||
sreg = breg = (ip->insn_opcode >> 21) & 0x1f;
|
||||
treg = EXTRACT_OPERAND (RT, *ip);
|
||||
dreg = EXTRACT_OPERAND (RD, *ip);
|
||||
sreg = breg = EXTRACT_OPERAND (RS, *ip);
|
||||
mask = ip->insn_mo->mask;
|
||||
|
||||
expr1.X_op = O_constant;
|
||||
|
|
Loading…
Add table
Reference in a new issue