Fix a bug where the octeon+ saa/saad instructions think they are using the AT
register when they actually aren't.
This commit is contained in:
parent
6ac68d00a5
commit
bd8986bbe0
14
external/gpl3/binutils/dist/gas/config/tc-mips.c
vendored
14
external/gpl3/binutils/dist/gas/config/tc-mips.c
vendored
@ -9235,18 +9235,28 @@ macro (struct mips_cl_insn *ip)
|
||||
|
||||
|
||||
case M_SAA_AB:
|
||||
ab = 1;
|
||||
ab = (offset_expr.X_op != O_constant || offset_expr.X_add_number != 0);
|
||||
case M_SAA_OB:
|
||||
s = "saa";
|
||||
off0 = 1;
|
||||
fmt = "t,(b)";
|
||||
if (!ab)
|
||||
{
|
||||
tempreg = AT;
|
||||
goto ld_noat;
|
||||
}
|
||||
goto ld_st;
|
||||
case M_SAAD_AB:
|
||||
ab = 1;
|
||||
ab = (offset_expr.X_op != O_constant || offset_expr.X_add_number != 0);
|
||||
case M_SAAD_OB:
|
||||
s = "saad";
|
||||
off0 = 1;
|
||||
fmt = "t,(b)";
|
||||
if (!ab)
|
||||
{
|
||||
tempreg = AT;
|
||||
goto ld_noat;
|
||||
}
|
||||
goto ld_st;
|
||||
|
||||
/* New code added to support COPZ instructions.
|
||||
|
Loading…
Reference in New Issue
Block a user