(rotl[shq]i3, rotl[hq]i3+1): Don't directly modify operand.

From-SVN: r13882
This commit is contained in:
Richard Kenner 1997-04-13 13:17:56 -04:00
parent 3ff78fe33a
commit 6780a54b7d

View File

@ -4749,7 +4749,7 @@
return \"swap %0\";
else if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) >= 16)
{
INTVAL (operands[2]) = 32 - INTVAL (operands[2]);
operands[2] = gen_rtx (CONST_INT, VOIDmode, 32 - INTVAL (operands[2]));
return \"ror%.l %2,%0\";
}
else
@ -4765,7 +4765,7 @@
{
if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) >= 8)
{
INTVAL (operands[2]) = 16 - INTVAL (operands[2]);
operands[2] = gen_rtx (CONST_INT, VOIDmode, 16 - INTVAL (operands[2]));
return \"ror%.w %2,%0\";
}
else
@ -4781,7 +4781,7 @@
{
if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) >= 8)
{
INTVAL (operands[2]) = 16 - INTVAL (operands[2]);
operands[2] = gen_rtx (CONST_INT, VOIDmode, 16 - INTVAL (operands[2]));
return \"ror%.w %2,%0\";
}
else
@ -4797,7 +4797,7 @@
{
if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) >= 4)
{
INTVAL (operands[2]) = 8 - INTVAL (operands[2]);
operands[2] = gen_rtx (CONST_INT, VOIDmode, 8 - INTVAL (operands[2]));
return \"ror%.b %2,%0\";
}
else
@ -4813,7 +4813,7 @@
{
if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) >= 4)
{
INTVAL (operands[2]) = 8 - INTVAL (operands[2]);
operands[2] = gen_rtx (CONST_INT, VOIDmode, 8 - INTVAL (operands[2]));
return \"ror%.b %2,%0\";
}
else