
PPC MOREDETOUR0218
"DpDatadW Rfe PodRW DetourW DetourRW Rfe"
Cycle=Rfe PodRW DetourW DetourRW Rfe DpDatadW
Prefetch=0:x=F,0:y=W,1:y=F,1:x=W
Com=Rf Rf
Orig=DpDatadW Rfe PodRW DetourW DetourRW Rfe
{
0:r2=x; 0:r4=y;
1:r2=y; 1:r4=x;
2:r2=x;
3:r2=x;
}
P0 | P1 | P2 | P3 ;
lwz r1,0(r2) | lwz r1,0(r2) | li r1,2 | lwz r1,0(r2) ;
xor r3,r1,r1 | li r3,1 | stw r1,0(r2) | li r3,3 ;
addi r3,r3,1 | stw r3,0(r4) | | stw r3,0(r2) ;
stw r3,0(r4) | lwz r5,0(r4) | | ;
| li r6,4 | | ;
| stw r6,0(r4) | | ;
Observed
0:r1=3; 1:r1=1; 1:r5=3; 3:r1=0; x=2;
and 0:r1=2; 1:r1=1; 1:r5=2; 3:r1=0; x=3;
and 0:r1=2; 1:r1=1; 1:r5=2; 3:r1=1; x=3;
and 0:r1=3; 1:r1=1; 1:r5=3; 3:r1=2; x=4;