Test DETOUR0483

ARM DETOUR0483
"Rfi PosRW PodWW Rfe DpDatadW Wse"
Cycle=Rfi PosRW PodWW Rfe DpDatadW Wse
Prefetch=0:x=F,0:y=W,1:y=F,1:x=W
Com=Rf Ws
Orig=Rfi PosRW PodWW Rfe DpDatadW Wse
{
%x0=x; %y0=y;
%y1=y; %x1=x;
}
 P0           | P1           ;
 MOV R0,#2    | LDR R0,[%y1] ;
 STR R0,[%x0] | EOR R1,R0,R0 ;
 LDR R1,[%x0] | ADD R1,R1,#1 ;
 MOV R2,#3    | STR R1,[%x1] ;
 STR R2,[%x0] | DMB          ;
 MOV R3,#1    | LDR R2,[%x1] ;
 STR R3,[%y0] |              ;
Observed
    0:R1=1; 1:R0=1; 1:R2=1;
and 0:R1=2; 1:R0=1; 1:R2=2;
and 0:R1=1; 1:R0=0; 1:R2=3;
and 0:R1=1; 1:R0=1; 1:R2=3;