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:
matt 2015-05-29 22:18:51 +00:00
parent 6ac68d00a5
commit bd8986bbe0

View File

@ -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.