Test MOREDETOUR0358

ARM MOREDETOUR0358
"Rfi DpCtrldW DetourWW Rfe DpDatadW Wse"
Cycle=Rfi DpCtrldW DetourWW Rfe DpDatadW Wse
Prefetch=0:x=F,0:y=W,1:y=F,1:x=W
Com=Rf Ws
Orig=Rfi DpCtrldW DetourWW Rfe DpDatadW Wse
{
%x0=x; %y0=y;
%y1=y;
%y2=y; %x2=x;
}
 P0           | P1           | P2           ;
 MOV R0,#2    | LDR R0,[%y1] | LDR R0,[%y2] ;
 STR R0,[%x0] | MOV R1,#2    | EOR R1,R0,R0 ;
 LDR R1,[%x0] | STR R1,[%y1] | ADD R1,R1,#1 ;
 CMP R1,R1    |              | STR R1,[%x2] ;
 BNE LC00     |              |              ;
 LC00:        |              |              ;
 MOV R2,#1    |              |              ;
 STR R2,[%y0] |              |              ;
 MOV R3,#3    |              |              ;
 STR R3,[%y0] |              |              ;
Observed
    0:R1=1; 1:R0=1; 2:R0=2; x=1; y=2;
and 0:R1=1; 1:R0=3; 2:R0=2; x=1; y=2;
and 0:R1=1; 1:R0=1; 2:R0=2; x=1; y=3;