mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-13 07:04:29 +08:00
(rotl[shq]i3, rotl[hq]i3+1): Don't directly modify operand.
From-SVN: r13882
This commit is contained in:
parent
3ff78fe33a
commit
6780a54b7d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user