Test MOREDETOUR0463

ARM MOREDETOUR0463
"DMBdWW Rfe DpCtrldR DetourRW PosWR Fre"
Cycle=Rfe DpCtrldR DetourRW PosWR Fre DMBdWW
Prefetch=0:x=F,0:y=W,1:y=F,1:x=T
Com=Rf Fr
Orig=DMBdWW Rfe DpCtrldR DetourRW PosWR Fre
{
%x0=x; %y0=y;
%y1=y; %x1=x;
%x2=x;
}
 P0           | P1           | P2           ;
 MOV R0,#3    | LDR R0,[%y1] | MOV R0,#1    ;
 STR R0,[%x0] | CMP R0,R0    | STR R0,[%x2] ;
 DMB          | BNE LC00     | DMB          ;
 MOV R1,#1    | LC00:        | LDR R1,[%x2] ;
 STR R1,[%y0] | LDR R1,[%x1] |              ;
              | MOV R2,#2    |              ;
              | STR R2,[%x1] |              ;
              | LDR R3,[%x1] |              ;
Observed
    1:R0=1; 1:R1=0; 1:R3=1; 2:R1=1; x=1;
and 1:R0=0; 1:R1=1; 1:R3=3; 2:R1=2; x=3;
and 1:R0=0; 1:R1=0; 1:R3=1; 2:R1=3; x=3;
and 1:R0=0; 1:R1=0; 1:R3=3; 2:R1=3; x=3;
and 1:R0=0; 1:R1=1; 1:R3=3; 2:R1=3; x=3;